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:
parent
c5d7cbf2ef
commit
83b7de2d0b
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user