diff --git a/tests/cpp-tests/Classes/SchedulerTest/SchedulerTest.cpp b/tests/cpp-tests/Classes/SchedulerTest/SchedulerTest.cpp index 33fae8fb89..198ff3998b 100644 --- a/tests/cpp-tests/Classes/SchedulerTest/SchedulerTest.cpp +++ b/tests/cpp-tests/Classes/SchedulerTest/SchedulerTest.cpp @@ -1183,6 +1183,7 @@ void ScheduleUpdatePriority::onEnter() void ScheduleUpdatePriority::onExit() { + Node::onExit(); unscheduleUpdate(); }