fix: gui crash on clearsettings in debug mode
fixes: #9369 replaces: #9373
This commit is contained in:
parent
ed114252e2
commit
c7a427a94c
1 changed files with 10 additions and 0 deletions
|
|
@ -452,6 +452,16 @@ void MainWindow::clearSettings()
|
|||
return;
|
||||
}
|
||||
|
||||
m_networkMonitor->stopMonitoring();
|
||||
|
||||
disconnect(&m_coreProcess, nullptr, this, nullptr);
|
||||
disconnect(&m_serverConnection, nullptr, this, nullptr);
|
||||
disconnect(&m_clientConnection, nullptr, this, nullptr);
|
||||
disconnect(&m_versionChecker, nullptr, this, nullptr);
|
||||
disconnect(m_guiDupeChecker, nullptr, this, nullptr);
|
||||
disconnect(m_trayIcon, nullptr, this, nullptr);
|
||||
disconnect(m_logDock->toggleViewAction(), nullptr, this, nullptr);
|
||||
|
||||
m_coreProcess.stop();
|
||||
m_coreProcess.clearSettings();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue