From 01714514fa95a37833579e78afa3c87115da4cee Mon Sep 17 00:00:00 2001 From: Tyler Dauch Date: Mon, 5 Jun 2017 10:39:25 +0800 Subject: [PATCH] Update CCNode.cpp (#17890) --- cocos/2d/CCNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/2d/CCNode.cpp b/cocos/2d/CCNode.cpp index 492eadd523..05847b62ad 100644 --- a/cocos/2d/CCNode.cpp +++ b/cocos/2d/CCNode.cpp @@ -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