Browse Source

Defer closing logger instance

So that logger can still be used in shutdown stage.
adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
e3425cfa9e
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 5
      src/app/application.cpp

5
src/app/application.cpp

@ -850,12 +850,13 @@ void Application::cleanup() @@ -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)
{

Loading…
Cancel
Save