mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +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) {
|
||||
account->save();
|
||||
}
|
||||
FolderMan::instance()->unloadAllFolders();
|
||||
|
||||
_gui->slotShutdown();
|
||||
_gui->deleteLater();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue