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