mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +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() {
|
||||
|
||||
@@ -18,6 +18,7 @@ Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit WindowManager();
|
||||
~WindowManager() override;
|
||||
|
||||
void wizardOpenWallet();
|
||||
void close();
|
||||
|
||||
Reference in New Issue
Block a user