Call TestDestroy() to ensure we can delete the FontsCollectorThread, fixes #561
Originally committed to SVN as r2949.
This commit is contained in:
parent
5717f81ef2
commit
f1bfb947cf
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ wxThread::ExitCode FontsCollectorThread::Entry() {
|
|||
collector->Update();
|
||||
|
||||
// Return
|
||||
if (IsDetached()) Delete();
|
||||
if (IsDetached() && TestDestroy()) Delete();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue