mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Application: Unload all folders when shutting down.
That sends a proper UNREGISTER message via socket API.
This commit is contained in:
parent
d1a660ce20
commit
75101a0319
1 changed files with 2 additions and 0 deletions
|
@ -208,6 +208,8 @@ void Application::slotCleanup()
|
||||||
if (account) {
|
if (account) {
|
||||||
account->save();
|
account->save();
|
||||||
}
|
}
|
||||||
|
FolderMan::instance()->unloadAllFolders();
|
||||||
|
|
||||||
_gui->slotShutdown();
|
_gui->slotShutdown();
|
||||||
_gui->deleteLater();
|
_gui->deleteLater();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue