diff options
-rw-r--r-- | backends/timer/default/default-timer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/timer/default/default-timer.cpp b/backends/timer/default/default-timer.cpp index 8d766740c4..bd2222bbbc 100644 --- a/backends/timer/default/default-timer.cpp +++ b/backends/timer/default/default-timer.cpp @@ -93,8 +93,7 @@ void DefaultTimerManager::handler() { _head->next = slot->next; // Update the fire time and reinsert the TimerSlot into the priority - // queue. Has to be done before the timer callback is invoked, in case - // the callback wants to remove itself. + // queue. assert(slot->interval > 0); slot->nextFireTime += (slot->interval / 1000); slot->nextFireTimeMicro += (slot->interval % 1000); |