1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01:00

* Don't allow removed resolvers to break the pipeline.

This commit is contained in:
Christian Muehlhaeuser 2011-05-20 03:09:19 +02:00
parent c5d7cbf2ef
commit 83b7de2d0b

View File

@ -323,14 +323,10 @@ Pipeline::shunt( const query_ptr& q )
if ( lastweight > 0 )
{
// qDebug() << "Shunting in" << lasttimeout << "ms, q:" << q->toString();
q->setLastPipelineWeight( lastweight );
if ( thisResolver < rc )
{
// qDebug() << "Shunting in" << lasttimeout << "ms, q:" << q->toString();
m_qidsTimeout.insert( q->id(), true );
new FuncTimeout( lasttimeout, boost::bind( &Pipeline::timeoutShunt, this, q ), this );
}
m_qidsTimeout.insert( q->id(), true );
new FuncTimeout( lasttimeout, boost::bind( &Pipeline::timeoutShunt, this, q ), this );
}
else
{