Skip to content
Snippets Groups Projects
Commit f0d3e863 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Remove unwanted deadlock in timer

parent e99749aa
No related branches found
No related tags found
1 merge request!316Resolves #343 GUI and Frame Refactor
Pipeline #28454 failed
......@@ -220,10 +220,10 @@ static void trigger_jobs() {
// If last job in list then do in this thread
if (active_jobs == jobs[kTimerMain].size()+1) {
lk.unlock();
bool doremove = !pj->job.trigger(ts);
pj->active = false;
active_jobs--;
lk.unlock();
if (doremove) removeJob(pj->id);
lk.lock();
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment