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

Fix ported from ResolverAccount to CustomAtticaAccount omission

This commit is contained in:
Leo Franchi
2012-05-26 09:12:11 -04:00
parent da82f398be
commit d846c8a693

View File

@@ -88,6 +88,12 @@ SpotifyAccount::SpotifyAccount( const QString& accountId )
SpotifyAccount::~SpotifyAccount() SpotifyAccount::~SpotifyAccount()
{ {
clearUser(); clearUser();
if ( m_spotifyResolver.isNull() )
return;
Pipeline::instance()->removeScriptResolver( m_spotifyResolver.data()->filePath() );
delete m_spotifyResolver.data();
} }