mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 01:39:42 +01:00
* Also release non-temporary queries in Pipeline.
This commit is contained in:
parent
dc5c0394f7
commit
ac726faf1b
@ -191,6 +191,8 @@ Pipeline::reportResults( QID qid, const QList< result_ptr >& results )
|
||||
q->onResolvingFinished();
|
||||
|
||||
setQIDState( q, 0 );
|
||||
if ( !m_queries_temporary.contains( q ) )
|
||||
m_qids.remove( q->id() );
|
||||
if ( m_qidsTimeout.contains( q->id() ) )
|
||||
m_qidsTimeout.remove( q->id() );
|
||||
|
||||
@ -204,6 +206,8 @@ Pipeline::reportResults( QID qid, const QList< result_ptr >& results )
|
||||
if ( !q->solved() || q->isFullTextQuery() )
|
||||
q->onResolvingFinished();
|
||||
|
||||
if ( !m_queries_temporary.contains( q ) )
|
||||
m_qids.remove( q->id() );
|
||||
if ( m_qidsTimeout.contains( q->id() ) )
|
||||
m_qidsTimeout.remove( q->id() );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user