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:
@@ -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.";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user