diff --git a/src/app/application.cpp b/src/app/application.cpp index ea82b27c2..b244bc4f5 100644 --- a/src/app/application.cpp +++ b/src/app/application.cpp @@ -850,12 +850,13 @@ void Application::cleanup() Net::ProxyConfigurationManager::freeInstance(); Preferences::freeInstance(); SettingsStorage::freeInstance(); - delete m_fileLogger; - Logger::freeInstance(); IconProvider::freeInstance(); SearchPluginManager::freeInstance(); Utils::Fs::removeDirRecursively(Utils::Fs::tempPath()); + Logger::freeInstance(); + delete m_fileLogger; + #ifndef DISABLE_GUI if (m_window) {