mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
TWK-738: Don't crash on quit
This commit is contained in:
parent
f4603e0cad
commit
afe2db8d51
@ -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() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user