Remove misleading comment.
svn-id: r38977
This commit is contained in:
parent
f38e6b0d76
commit
460131f5d3
1 changed files with 1 additions and 2 deletions
|
@ -93,8 +93,7 @@ void DefaultTimerManager::handler() {
|
||||||
_head->next = slot->next;
|
_head->next = slot->next;
|
||||||
|
|
||||||
// Update the fire time and reinsert the TimerSlot into the priority
|
// Update the fire time and reinsert the TimerSlot into the priority
|
||||||
// queue. Has to be done before the timer callback is invoked, in case
|
// queue.
|
||||||
// the callback wants to remove itself.
|
|
||||||
assert(slot->interval > 0);
|
assert(slot->interval > 0);
|
||||||
slot->nextFireTime += (slot->interval / 1000);
|
slot->nextFireTime += (slot->interval / 1000);
|
||||||
slot->nextFireTimeMicro += (slot->interval % 1000);
|
slot->nextFireTimeMicro += (slot->interval % 1000);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue