mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Don't leak spotify info plugin
This commit is contained in:
@@ -116,6 +116,12 @@ SpotifyAccount::~SpotifyAccount()
|
|||||||
{
|
{
|
||||||
clearUser();
|
clearUser();
|
||||||
|
|
||||||
|
if ( m_infoPlugin )
|
||||||
|
{
|
||||||
|
Tomahawk::InfoSystem::InfoSystem::instance()->removeInfoPlugin( infoPlugin() );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if ( m_spotifyResolver.isNull() )
|
if ( m_spotifyResolver.isNull() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user