mirror of https://github.com/axmolengine/axmol.git
Update CCNode.cpp (#17890)
This commit is contained in:
parent
0a69031db3
commit
01714514fa
|
@ -157,7 +157,7 @@ Node::~Node()
|
|||
#endif
|
||||
|
||||
// User object has to be released before others, since userObject may have a weak reference of this node
|
||||
// It may invoke `node->stopAllAction();` while `_actionManager` is null if the next line is after `CC_SAFE_RELEASE_NULL(_actionManager)`.
|
||||
// It may invoke `node->stopAllActions();` while `_actionManager` is null if the next line is after `CC_SAFE_RELEASE_NULL(_actionManager)`.
|
||||
CC_SAFE_RELEASE_NULL(_userObject);
|
||||
|
||||
// attributes
|
||||
|
|
Loading…
Reference in New Issue