mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
TWK-738: Don't crash on quit
This commit is contained in:
@@ -107,7 +107,7 @@ LastFmAccount::authenticate()
|
||||
void
|
||||
LastFmAccount::deauthenticate()
|
||||
{
|
||||
if ( m_resolver.data()->running() )
|
||||
if ( !m_resolver.isNull() && m_resolver.data()->running() )
|
||||
m_resolver.data()->stop();
|
||||
|
||||
emit connectionStateChanged( connectionState() );
|
||||
|
Reference in New Issue
Block a user