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

Method removeAction

Source/Node/Node.cpp:1330–1346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328}
1329
1330void Node::removeAction(Action* action) {
1331 if (!hasAction(action)) return;
1332 if (_action == action) {
1333 if (action->_next) {
1334 _action = action->_next;
1335 _action->_prev = nullptr;
1336 } else {
1337 _action = nullptr;
1338 }
1339 } else {
1340 if (action->_prev) {
1341 action->_prev->_next = action->_next;
1342 }
1343 }
1344 action->_prev = nullptr;
1345 action->_next = nullptr;
1346}
1347
1348void Node::stopAction(Action* action) {
1349 if (hasAction(action)) {

Callers 3

scheduleMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected