mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-26 20:45:54 +00:00
daemonManager: wait for daemon stop on app close
This commit is contained in:
parent
f62bb687df
commit
d9f4ab45e2
1 changed files with 4 additions and 0 deletions
|
@ -136,4 +136,8 @@ void DaemonManager::closing()
|
||||||
{
|
{
|
||||||
qDebug() << __FUNCTION__;
|
qDebug() << __FUNCTION__;
|
||||||
stop();
|
stop();
|
||||||
|
// Wait for daemon to stop before exiting (max 10 secs)
|
||||||
|
if(initialized){
|
||||||
|
m_daemon->waitForFinished(10000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue