Fixed bug where the TargetController was shutting down before the InsightWorker thread, causing the InsightWorker thread to hang as it waited for the TargetController to respond to a command.
This commit is contained in:
@@ -177,7 +177,10 @@ namespace Bloom
|
||||
}
|
||||
|
||||
if (this->workerThread != nullptr && this->workerThread->isRunning()) {
|
||||
Logger::debug("Stopping InsightWorker thread");
|
||||
this->workerThread->quit();
|
||||
Logger::debug("Waiting for InsightWorker thread to stop");
|
||||
this->workerThread->wait();
|
||||
}
|
||||
|
||||
this->application.exit(0);
|
||||
|
||||
Reference in New Issue
Block a user