mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-05 18:39:30 +00:00
WindowManager: wait for cleanup thread
This commit is contained in:
parent
f5307862bd
commit
281f49f923
2 changed files with 7 additions and 0 deletions
|
@ -47,6 +47,12 @@ WindowManager::WindowManager() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WindowManager::~WindowManager() {
|
||||||
|
qDebug() << "~WindowManager";
|
||||||
|
m_cleanupThread->quit();
|
||||||
|
m_cleanupThread->wait();
|
||||||
|
}
|
||||||
|
|
||||||
// ######################## APPLICATION LIFECYCLE ########################
|
// ######################## APPLICATION LIFECYCLE ########################
|
||||||
|
|
||||||
void WindowManager::quitAfterLastWindow() {
|
void WindowManager::quitAfterLastWindow() {
|
||||||
|
|
|
@ -18,6 +18,7 @@ Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit WindowManager();
|
explicit WindowManager();
|
||||||
|
~WindowManager() override;
|
||||||
|
|
||||||
void wizardOpenWallet();
|
void wizardOpenWallet();
|
||||||
void close();
|
void close();
|
||||||
|
|
Loading…
Reference in a new issue