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