Fix deadlock on quit for Linux
This commit is contained in:
parent
bbdc9f2318
commit
820b76d894
@ -57,7 +57,11 @@ namespace nasal
|
||||
class ThreadedGarbageCollector : public SGExclusiveThread {
|
||||
public:
|
||||
ThreadedGarbageCollector() : SGExclusiveThread() {}
|
||||
virtual ~ThreadedGarbageCollector() {}
|
||||
|
||||
virtual ~ThreadedGarbageCollector()
|
||||
{
|
||||
terminate();
|
||||
}
|
||||
|
||||
int process() override{
|
||||
return naGarbageCollect();
|
||||
|
Loading…
Reference in New Issue
Block a user