mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Defer closing logger instance
So that logger can still be used in shutdown stage.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user