1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 17:43:59 +02:00

* Fixed Windows shutdown.

This commit is contained in:
Christian Muehlhaeuser
2012-07-13 09:50:16 +02:00
parent fa83fde05e
commit 37fad49393

View File

@@ -381,14 +381,12 @@ TomahawkApp::~TomahawkApp()
tLog() << "Deleting AccountManager";
delete Tomahawk::Accounts::AccountManager::instance();
/* tLog() << "Deleting Cache";
delete TomahawkUtils::Cache::instance();*/
#ifndef ENABLE_HEADLESS
tLog() << "Deleting Window";
delete m_mainwindow;
tLog() << "Deleting AtticaManager";
delete AtticaManager::instance();
tLog() << "Deleting Window";
delete m_mainwindow;
#endif
tLog() << "Deleting database";
@@ -399,8 +397,11 @@ TomahawkApp::~TomahawkApp()
delete Pipeline::instance();
tLog() << "Deleting InfoSystem";
/* if ( !m_infoSystem.isNull() )
delete m_infoSystem.data();*/
if ( !m_infoSystem.isNull() )
delete m_infoSystem.data();
tLog() << "Deleting Cache";
delete TomahawkUtils::Cache::instance();
tLog() << "Finished shutdown.";
}