Fix leake and use pre-increment

This commit is contained in:
Esfomeado
2017-04-21 10:33:25 +01:00
committed by fireice-uk
parent 05610ba80a
commit 2ade51acfa
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ void executor::ex_clock_thd()
ev = lTimedEvents.erase(ev);
}
else
ev++;
++ev;
}
lck.unlock();