Browse Source

Add shutdown logging

adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
8114c11d58
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 3
      src/app/application.cpp

3
src/app/application.cpp

@ -810,6 +810,8 @@ void Application::cleanup() @@ -810,6 +810,8 @@ void Application::cleanup()
if (!m_isCleanupRun.testAndSetAcquire(0, 1))
return;
LogMsg(tr("qBittorrent termination initiated"));
#ifndef DISABLE_GUI
if (m_window)
{
@ -854,6 +856,7 @@ void Application::cleanup() @@ -854,6 +856,7 @@ void Application::cleanup()
SearchPluginManager::freeInstance();
Utils::Fs::removeDirRecursively(Utils::Fs::tempPath());
LogMsg(tr("qBittorrent is now ready to exit"));
Logger::freeInstance();
delete m_fileLogger;

Loading…
Cancel
Save