| 445 | } |
| 446 | |
| 447 | void 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 | |
| 467 | Array* Node::getChildren() { |
| 468 | sortAllChildren(); |
no test coverage detected