mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
* Fixed Windows shutdown.
This commit is contained in:
@@ -380,11 +380,10 @@ TomahawkApp::~TomahawkApp()
|
|||||||
delete m_audioEngine.data();
|
delete m_audioEngine.data();
|
||||||
|
|
||||||
delete Tomahawk::Accounts::AccountManager::instance();
|
delete Tomahawk::Accounts::AccountManager::instance();
|
||||||
delete TomahawkUtils::Cache::instance();
|
|
||||||
|
|
||||||
#ifndef ENABLE_HEADLESS
|
#ifndef ENABLE_HEADLESS
|
||||||
delete m_mainwindow;
|
|
||||||
delete AtticaManager::instance();
|
delete AtticaManager::instance();
|
||||||
|
delete m_mainwindow;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ( !m_database.isNull() )
|
if ( !m_database.isNull() )
|
||||||
@@ -395,6 +394,8 @@ TomahawkApp::~TomahawkApp()
|
|||||||
if ( !m_infoSystem.isNull() )
|
if ( !m_infoSystem.isNull() )
|
||||||
delete m_infoSystem.data();
|
delete m_infoSystem.data();
|
||||||
|
|
||||||
|
delete TomahawkUtils::Cache::instance();
|
||||||
|
|
||||||
tLog() << "Finished shutdown.";
|
tLog() << "Finished shutdown.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user