| 805 | } |
| 806 | |
| 807 | void Node::clearUpdate() { |
| 808 | if (!_updateItem) return; |
| 809 | _updateItem->scheduledThreadFuncs.clear(); |
| 810 | if (!_updateItem->hasFunc() && _flags.isOff(Node::Updating) && _updateItem->scheduledItem->iter) { |
| 811 | _scheduler->unschedule(_updateItem->scheduledItem.get()); |
| 812 | } |
| 813 | } |
| 814 | |
| 815 | void Node::onRender(const Update& func) { |
| 816 | auto updateItem = getUpdateItem(); |
no test coverage detected