mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 10:05:32 +02:00
* Fixed Windows shutdown.
This commit is contained in:
@@ -381,14 +381,12 @@ TomahawkApp::~TomahawkApp()
|
|||||||
|
|
||||||
tLog() << "Deleting AccountManager";
|
tLog() << "Deleting AccountManager";
|
||||||
delete Tomahawk::Accounts::AccountManager::instance();
|
delete Tomahawk::Accounts::AccountManager::instance();
|
||||||
/* tLog() << "Deleting Cache";
|
|
||||||
delete TomahawkUtils::Cache::instance();*/
|
|
||||||
|
|
||||||
#ifndef ENABLE_HEADLESS
|
#ifndef ENABLE_HEADLESS
|
||||||
tLog() << "Deleting Window";
|
|
||||||
delete m_mainwindow;
|
|
||||||
tLog() << "Deleting AtticaManager";
|
tLog() << "Deleting AtticaManager";
|
||||||
delete AtticaManager::instance();
|
delete AtticaManager::instance();
|
||||||
|
tLog() << "Deleting Window";
|
||||||
|
delete m_mainwindow;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
tLog() << "Deleting database";
|
tLog() << "Deleting database";
|
||||||
@@ -399,8 +397,11 @@ TomahawkApp::~TomahawkApp()
|
|||||||
delete Pipeline::instance();
|
delete Pipeline::instance();
|
||||||
|
|
||||||
tLog() << "Deleting InfoSystem";
|
tLog() << "Deleting InfoSystem";
|
||||||
/* if ( !m_infoSystem.isNull() )
|
if ( !m_infoSystem.isNull() )
|
||||||
delete m_infoSystem.data();*/
|
delete m_infoSystem.data();
|
||||||
|
|
||||||
|
tLog() << "Deleting Cache";
|
||||||
|
delete TomahawkUtils::Cache::instance();
|
||||||
|
|
||||||
tLog() << "Finished shutdown.";
|
tLog() << "Finished shutdown.";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user