Fixed bug with Insight window close event being issued twice
This commit is contained in:
@@ -155,7 +155,9 @@ namespace Bloom
|
||||
}
|
||||
|
||||
Logger::info("Shutting down Insight");
|
||||
this->mainWindow->close();
|
||||
if (this->mainWindow->isVisible()) {
|
||||
this->mainWindow->close();
|
||||
}
|
||||
|
||||
if (this->workerThread != nullptr && this->workerThread->isRunning()) {
|
||||
this->workerThread->quit();
|
||||
|
||||
Reference in New Issue
Block a user