mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
fix crash on exit
This commit is contained in:
+12
-4
@@ -85,10 +85,18 @@ void WindowManager::close() {
|
||||
window->close();
|
||||
}
|
||||
|
||||
m_wizard->deleteLater();
|
||||
m_splashDialog->deleteLater();
|
||||
m_tray->deleteLater();
|
||||
m_docsDialog->deleteLater();
|
||||
if (m_splashDialog) {
|
||||
m_splashDialog->deleteLater();
|
||||
}
|
||||
if (m_tray) {
|
||||
m_tray->deleteLater();
|
||||
}
|
||||
if (m_wizard) {
|
||||
m_wizard->deleteLater();
|
||||
}
|
||||
if (m_docsDialog) {
|
||||
m_docsDialog->deleteLater();
|
||||
}
|
||||
|
||||
torManager()->stop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user