Browse Source

WindowManager: wait for cleanup thread

build_fixes beta-8
tobtoht 7 months ago
parent
commit
281f49f923
Signed by: tobtoht GPG Key ID: 1CADD27F41F45C3C
  1. 6
      src/WindowManager.cpp
  2. 1
      src/WindowManager.h

6
src/WindowManager.cpp

@ -47,6 +47,12 @@ WindowManager::WindowManager() {
}
}
WindowManager::~WindowManager() {
qDebug() << "~WindowManager";
m_cleanupThread->quit();
m_cleanupThread->wait();
}
// ######################## APPLICATION LIFECYCLE ########################
void WindowManager::quitAfterLastWindow() {

1
src/WindowManager.h

@ -18,6 +18,7 @@ Q_OBJECT
public:
explicit WindowManager();
~WindowManager() override;
void wizardOpenWallet();
void close();

Loading…
Cancel
Save