Commit 422675b8 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

parser: Remove tasks stats assertion

This only ever caught false positive
parent 6997c21b
Pipeline #203919 passed with stage
in 44 seconds
......@@ -199,7 +199,14 @@ void Parser::updateStats()
if ( m_callback == nullptr )
assert( m_opScheduled >= m_opDone );
if ( m_opScheduled < m_opDone )
/* After flushing, a task may still complete while we don't expect it
* anymore. Handling this properly would be racy until we have a way to
* interrupt a task, which we don't for now
m_opDone = m_opScheduled;
* We don't want to spam the callback receiver each time we're done parsing
* an item, however we must signal progress when:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment