|
|
@ -515,7 +515,6 @@ int Application::exec(const QStringList ¶ms) |
|
|
|
|
|
|
|
|
|
|
|
new RSS::Session; // create RSS::Session singleton
|
|
|
|
new RSS::Session; // create RSS::Session singleton
|
|
|
|
new RSS::AutoDownloader; // create RSS::AutoDownloader singleton
|
|
|
|
new RSS::AutoDownloader; // create RSS::AutoDownloader singleton
|
|
|
|
new SearchPluginManager; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef DISABLE_GUI |
|
|
|
#ifdef DISABLE_GUI |
|
|
|
#ifndef DISABLE_WEBUI |
|
|
|
#ifndef DISABLE_WEBUI |
|
|
@ -710,7 +709,6 @@ void Application::cleanup() |
|
|
|
delete m_webui; |
|
|
|
delete m_webui; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
delete SearchPluginManager::instance(); |
|
|
|
|
|
|
|
delete RSS::AutoDownloader::instance(); |
|
|
|
delete RSS::AutoDownloader::instance(); |
|
|
|
delete RSS::Session::instance(); |
|
|
|
delete RSS::Session::instance(); |
|
|
|
|
|
|
|
|
|
|
@ -726,6 +724,7 @@ void Application::cleanup() |
|
|
|
delete m_fileLogger; |
|
|
|
delete m_fileLogger; |
|
|
|
Logger::freeInstance(); |
|
|
|
Logger::freeInstance(); |
|
|
|
IconProvider::freeInstance(); |
|
|
|
IconProvider::freeInstance(); |
|
|
|
|
|
|
|
SearchPluginManager::freeInstance(); |
|
|
|
Utils::Fs::removeDirRecursive(Utils::Fs::tempPath()); |
|
|
|
Utils::Fs::removeDirRecursive(Utils::Fs::tempPath()); |
|
|
|
|
|
|
|
|
|
|
|
#ifndef DISABLE_GUI |
|
|
|
#ifndef DISABLE_GUI |
|
|
|