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 {
|
class ThreadedGarbageCollector : public SGExclusiveThread {
|
||||||
public:
|
public:
|
||||||
ThreadedGarbageCollector() : SGExclusiveThread() {}
|
ThreadedGarbageCollector() : SGExclusiveThread() {}
|
||||||
virtual ~ThreadedGarbageCollector() {}
|
|
||||||
|
virtual ~ThreadedGarbageCollector()
|
||||||
|
{
|
||||||
|
terminate();
|
||||||
|
}
|
||||||
|
|
||||||
int process() override{
|
int process() override{
|
||||||
return naGarbageCollect();
|
return naGarbageCollect();
|
||||||
|
Loading…
Reference in New Issue
Block a user