mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-14 04:51:53 +02:00
* Fix crash bug.
This commit is contained in:
parent
9bed5ea2da
commit
6835c6989c
@ -82,7 +82,8 @@ SourceList::remove( Tomahawk::Source* s )
|
||||
m_sources.remove( s->userName() );
|
||||
qDebug() << "SourceList::remove(" << s->userName() << "), total sources now:" << m_sources.size();
|
||||
|
||||
src->controlConnection()->shutdown( true );
|
||||
if ( src->controlConnection() )
|
||||
src->controlConnection()->shutdown( true );
|
||||
}
|
||||
|
||||
emit sourceRemoved( src );
|
||||
|
Loading…
x
Reference in New Issue
Block a user