Skip to content
Commit ed69f1cc authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Suspend runners while initializing/reloading config

The initialization may take longer, in that time, there is no point in
launching queries.
Also, this avoids thread-safety issues because the RunnerManager reads
the minlettercount/matchregex from the AbstractRunner.

Because we suspend runners more often now, we must not emit
queryFinished while runners are suspended. Otherwise, we emit
queryFinished and emit lots of results later on.
This might be visually confusing and makes testing difficult and error
prone.
parent f3f9edc0
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