MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / onExit

Method onExit

Source/Node/Node.cpp:447–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447void Node::onExit() {
448 ARRAY_START(Node, child, _children) {
449 child->onExit();
450 }
451 ARRAY_END
452 _flags.setOff(Node::Running);
453 if (isUpdating() || isScheduled()) {
454 if (_updateItem && _updateItem->scheduled()) {
455 _scheduler->unschedule(_updateItem->scheduledItem.get());
456 }
457 }
458 if (isFixedUpdating()) {
459 if (_updateItem && _updateItem->fixedScheduled()) {
460 _scheduler->unscheduleFixed(_updateItem->fixedScheduledItem.get());
461 }
462 }
463 pauseActionInList(_action);
464 post("Exit"_slice);
465}
466
467Array* Node::getChildren() {
468 sortAllChildren();

Callers 3

ARRAY_STARTFunction · 0.45
removeChildMethod · 0.45
cleanupMethod · 0.45

Calls 6

postFunction · 0.85
scheduledMethod · 0.80
fixedScheduledMethod · 0.80
unscheduleFixedMethod · 0.80
getMethod · 0.65
unscheduleMethod · 0.45

Tested by

no test coverage detected