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

Method clearUpdate

Source/Node/Node.cpp:807–813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805}
806
807void 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
815void Node::onRender(const Update& func) {
816 auto updateItem = getUpdateItem();

Callers 1

node_clear_updateFunction · 0.80

Calls 5

hasFuncMethod · 0.80
isOffMethod · 0.80
clearMethod · 0.65
getMethod · 0.65
unscheduleMethod · 0.45

Tested by

no test coverage detected