Fix leake and use pre-increment

This commit is contained in:
Esfomeado
2017-04-09 18:47:00 +01:00
parent 215480b006
commit eba4b7b5c9
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();