mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Don't say we're processing events when we aren't anymore
This commit is contained in:
@@ -116,7 +116,7 @@ InfoSystem::~InfoSystem()
|
|||||||
QMetaObject::invokeMethod( m_cache.data(), "deleteLater", Qt::QueuedConnection );
|
QMetaObject::invokeMethod( m_cache.data(), "deleteLater", Qt::QueuedConnection );
|
||||||
while( !m_cache.isNull() )
|
while( !m_cache.isNull() )
|
||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO << " worker not deleted, processing events";
|
qDebug() << Q_FUNC_INFO << " worker not deleted";
|
||||||
TomahawkUtils::Sleep::msleep( 50 );
|
TomahawkUtils::Sleep::msleep( 50 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@ InfoSystem::~InfoSystem()
|
|||||||
{
|
{
|
||||||
while( !m_infoSystemCacheThreadController->isFinished() )
|
while( !m_infoSystemCacheThreadController->isFinished() )
|
||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO << " worker thread controller not finished, processing events";
|
qDebug() << Q_FUNC_INFO << " worker thread controller not finished";
|
||||||
TomahawkUtils::Sleep::msleep( 50 );
|
TomahawkUtils::Sleep::msleep( 50 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user