mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Don't allow removed resolvers to break the pipeline.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user