mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 09:04:33 +02:00
* Added verbose shutdown debug output.
This commit is contained in:
@@ -360,33 +360,45 @@ TomahawkApp::~TomahawkApp()
|
|||||||
|
|
||||||
if ( !m_session.isNull() )
|
if ( !m_session.isNull() )
|
||||||
delete m_session.data();
|
delete m_session.data();
|
||||||
|
tLog() << "Deleting connector";
|
||||||
if ( !m_connector.isNull() )
|
if ( !m_connector.isNull() )
|
||||||
delete m_connector.data();
|
delete m_connector.data();
|
||||||
|
|
||||||
|
tLog() << "Stopping pipeline";
|
||||||
if ( Pipeline::instance() )
|
if ( Pipeline::instance() )
|
||||||
Pipeline::instance()->stop();
|
Pipeline::instance()->stop();
|
||||||
|
|
||||||
|
tLog() << "Deleting servent";
|
||||||
if ( !m_servent.isNull() )
|
if ( !m_servent.isNull() )
|
||||||
delete m_servent.data();
|
delete m_servent.data();
|
||||||
|
tLog() << "Deleting ScanManager";
|
||||||
if ( !m_scanManager.isNull() )
|
if ( !m_scanManager.isNull() )
|
||||||
delete m_scanManager.data();
|
delete m_scanManager.data();
|
||||||
|
|
||||||
|
tLog() << "Deleting AudioEngine";
|
||||||
if ( !m_audioEngine.isNull() )
|
if ( !m_audioEngine.isNull() )
|
||||||
delete m_audioEngine.data();
|
delete m_audioEngine.data();
|
||||||
|
|
||||||
|
tLog() << "Deleting AccountManager";
|
||||||
delete Tomahawk::Accounts::AccountManager::instance();
|
delete Tomahawk::Accounts::AccountManager::instance();
|
||||||
|
tLog() << "Deleting Cache";
|
||||||
delete TomahawkUtils::Cache::instance();
|
delete TomahawkUtils::Cache::instance();
|
||||||
|
|
||||||
#ifndef ENABLE_HEADLESS
|
#ifndef ENABLE_HEADLESS
|
||||||
|
tLog() << "Deleting Window";
|
||||||
delete m_mainwindow;
|
delete m_mainwindow;
|
||||||
|
tLog() << "Deleting AtticaManager";
|
||||||
delete AtticaManager::instance();
|
delete AtticaManager::instance();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
tLog() << "Deleting database";
|
||||||
if ( !m_database.isNull() )
|
if ( !m_database.isNull() )
|
||||||
delete m_database.data();
|
delete m_database.data();
|
||||||
|
|
||||||
|
tLog() << "Deleting Pipeline";
|
||||||
delete Pipeline::instance();
|
delete Pipeline::instance();
|
||||||
|
|
||||||
|
tLog() << "Deleting InfoSystem";
|
||||||
if ( !m_infoSystem.isNull() )
|
if ( !m_infoSystem.isNull() )
|
||||||
delete m_infoSystem.data();
|
delete m_infoSystem.data();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user