mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +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 )
|
if ( lastweight > 0 )
|
||||||
{
|
{
|
||||||
|
// qDebug() << "Shunting in" << lasttimeout << "ms, q:" << q->toString();
|
||||||
q->setLastPipelineWeight( lastweight );
|
q->setLastPipelineWeight( lastweight );
|
||||||
if ( thisResolver < rc )
|
m_qidsTimeout.insert( q->id(), true );
|
||||||
{
|
new FuncTimeout( lasttimeout, boost::bind( &Pipeline::timeoutShunt, this, q ), this );
|
||||||
// qDebug() << "Shunting in" << lasttimeout << "ms, q:" << q->toString();
|
|
||||||
|
|
||||||
m_qidsTimeout.insert( q->id(), true );
|
|
||||||
new FuncTimeout( lasttimeout, boost::bind( &Pipeline::timeoutShunt, this, q ), this );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user