mirror of
https://github.com/AntiMicroX/antimicrox.git
synced 2026-08-02 18:47:42 -04:00
Use invokeMethod for worker deletion.
This commit is contained in:
@@ -266,7 +266,7 @@ void InputDaemon::quit()
|
||||
eventWorker->stop();
|
||||
}
|
||||
|
||||
eventWorker->deleteLater();
|
||||
QMetaObject::invokeMethod(eventWorker, SLOT(deleteLater()), Qt::BlockingQueuedConnection);
|
||||
eventWorker = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user