Update CCNode.cpp (#17890)

This commit is contained in:
Tyler Dauch 2017-06-05 10:39:25 +08:00 committed by minggo
parent 0a69031db3
commit 01714514fa
1 changed files with 1 additions and 1 deletions

View File

@ -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