1
0
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:
Christian Muehlhaeuser 2011-07-19 23:13:16 +02:00
parent dc5c0394f7
commit ac726faf1b

View File

@ -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() );