Disarm before tick (can be deleted in tick)

This commit is contained in:
simon.kagstrom 2010-01-30 16:59:46 +00:00
parent 54115df233
commit d7a8f558df

View File

@ -63,8 +63,8 @@ void TimerController::tick()
if (!cur)
continue;
cur->tick();
if (cur->timeout == 0)
this->disarm(cur);
cur->tick();
}
}