mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 10:17:26 -04:00
daemonManager: wait for daemon stop on app close
This commit is contained in:
@@ -136,4 +136,8 @@ void DaemonManager::closing()
|
||||
{
|
||||
qDebug() << __FUNCTION__;
|
||||
stop();
|
||||
// Wait for daemon to stop before exiting (max 10 secs)
|
||||
if(initialized){
|
||||
m_daemon->waitForFinished(10000);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user