mirror of https://github.com/axmolengine/axmol.git
closed #5392: add comment for unscheduleUpdate() at schedulePerFrame()
This commit is contained in:
parent
91db87a2f6
commit
5e62c4e069
|
@ -477,6 +477,7 @@ void Scheduler::schedulePerFrame(const ccSchedulerFunc& callback, void *target,
|
|||
}
|
||||
else
|
||||
{
|
||||
// unschedule it and add it back later.
|
||||
unscheduleUpdate(target);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue