mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-03 17:39:49 +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 ########################
|
||||
|
||||
void WindowManager::quitAfterLastWindow() {
|
||||
|
|
|
@ -18,6 +18,7 @@ Q_OBJECT
|
|||
|
||||
public:
|
||||
explicit WindowManager();
|
||||
~WindowManager() override;
|
||||
|
||||
void wizardOpenWallet();
|
||||
void close();
|
||||
|
|
Loading…
Reference in a new issue