mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-19 08:08:38 +02:00
WindowManager: wait for cleanup thread
This commit is contained in:
@@ -47,6 +47,12 @@ WindowManager::WindowManager() {
|
||||
}
|
||||
}
|
||||
|
||||
WindowManager::~WindowManager() {
|
||||
qDebug() << "~WindowManager";
|
||||
m_cleanupThread->quit();
|
||||
m_cleanupThread->wait();
|
||||
}
|
||||
|
||||
// ######################## APPLICATION LIFECYCLE ########################
|
||||
|
||||
void WindowManager::quitAfterLastWindow() {
|
||||
|
||||
Reference in New Issue
Block a user