From 75101a031945702c398a37334dd00eac896c8db5 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Wed, 20 Aug 2014 16:27:44 +0200 Subject: [PATCH] Application: Unload all folders when shutting down. That sends a proper UNREGISTER message via socket API. --- src/mirall/application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp index cd33cd939..5610cf6f9 100644 --- a/src/mirall/application.cpp +++ b/src/mirall/application.cpp @@ -208,6 +208,8 @@ void Application::slotCleanup() if (account) { account->save(); } + FolderMan::instance()->unloadAllFolders(); + _gui->slotShutdown(); _gui->deleteLater(); }