call parent onExit method

This commit is contained in:
andyque 2014-06-30 18:22:58 +08:00
parent a01b305b64
commit 9ef0544953
1 changed files with 1 additions and 0 deletions

View File

@ -1183,6 +1183,7 @@ void ScheduleUpdatePriority::onEnter()
void ScheduleUpdatePriority::onExit() void ScheduleUpdatePriority::onExit()
{ {
Node::onExit();
unscheduleUpdate(); unscheduleUpdate();
} }