1
0
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:
Christian Muehlhaeuser 2011-02-15 15:34:15 +01:00
parent 9bed5ea2da
commit 6835c6989c

View File

@ -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 );