diff --git a/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp b/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp index e4cf790f8..3ff5d9ed6 100644 --- a/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp +++ b/src/libtomahawk/accounts/spotify/SpotifyAccount.cpp @@ -116,6 +116,12 @@ SpotifyAccount::~SpotifyAccount() { clearUser(); + if ( m_infoPlugin ) + { + Tomahawk::InfoSystem::InfoSystem::instance()->removeInfoPlugin( infoPlugin() ); + } + + if ( m_spotifyResolver.isNull() ) return;