1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-08 23:26:40 +02:00

* Fixed Windows shutdown.

This commit is contained in:
Christian Muehlhaeuser
2012-07-13 09:52:08 +02:00
parent 3d3c381dd7
commit ad3f981c9f

View File

@@ -380,11 +380,10 @@ TomahawkApp::~TomahawkApp()
delete m_audioEngine.data();
delete Tomahawk::Accounts::AccountManager::instance();
delete TomahawkUtils::Cache::instance();
#ifndef ENABLE_HEADLESS
delete m_mainwindow;
delete AtticaManager::instance();
delete m_mainwindow;
#endif
if ( !m_database.isNull() )
@@ -395,6 +394,8 @@ TomahawkApp::~TomahawkApp()
if ( !m_infoSystem.isNull() )
delete m_infoSystem.data();
delete TomahawkUtils::Cache::instance();
tLog() << "Finished shutdown.";
}