Application: Unload all folders when shutting down.

That sends a proper UNREGISTER message via socket API.
This commit is contained in:
Klaas Freitag 2014-08-20 16:27:44 +02:00
parent d1a660ce20
commit 75101a0319

View file

@ -208,6 +208,8 @@ void Application::slotCleanup()
if (account) {
account->save();
}
FolderMan::instance()->unloadAllFolders();
_gui->slotShutdown();
_gui->deleteLater();
}