mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* 'Fixed' Windows shutdown crash.
This commit is contained in:
@@ -44,7 +44,6 @@ main( int argc, char *argv[] )
|
||||
AEInstallEventHandler( 'GURL', 'GURL', h, 0, false );
|
||||
#endif
|
||||
|
||||
|
||||
// Unity hack taken from Clementine's main.cpp
|
||||
#ifdef Q_OS_LINUX
|
||||
// In 11.04 Ubuntu decided that the system tray should be reserved for certain
|
||||
|
@@ -286,8 +286,9 @@ TomahawkApp::~TomahawkApp()
|
||||
|
||||
if ( !m_audioEngine.isNull() )
|
||||
delete m_audioEngine.data();
|
||||
if ( !m_infoSystem.isNull() )
|
||||
delete m_infoSystem.data();
|
||||
|
||||
/* if ( !m_infoSystem.isNull() )
|
||||
delete m_infoSystem.data(); */ // FIXME: this causes a shutdown crash on Windows
|
||||
|
||||
//FIXME: delete GeneratorFactory::registerFactory( "echonest", new EchonestFactory ); ?
|
||||
|
||||
|
@@ -111,8 +111,6 @@ private:
|
||||
|
||||
void initHTTP();
|
||||
|
||||
QList<Tomahawk::collection_ptr> m_collections;
|
||||
|
||||
QWeakPointer<Database> m_database;
|
||||
QWeakPointer<ScanManager> m_scanManager;
|
||||
QWeakPointer<AudioEngine> m_audioEngine;
|
||||
|
Reference in New Issue
Block a user