| 855 | } |
| 856 | |
| 857 | void Node::unscheduleUpdate() { |
| 858 | if (_flags.isOn(Node::Updating)) { |
| 859 | _flags.setOff(Node::Updating); |
| 860 | if (_updateItem && !_updateItem->hasFunc() && _updateItem->scheduledItem->iter) { |
| 861 | _scheduler->unschedule(_updateItem->scheduledItem.get()); |
| 862 | } |
| 863 | } |
| 864 | } |
| 865 | |
| 866 | void Node::unscheduleFixedUpdate() { |
| 867 | if (_flags.isOn(Node::FixedUpdating)) { |
nothing calls this directly
no test coverage detected