diff --git a/cocos/editor-support/cocosbuilder/CCBAnimationManager.cpp b/cocos/editor-support/cocosbuilder/CCBAnimationManager.cpp index bcdd041e01..f4faefcba6 100644 --- a/cocos/editor-support/cocosbuilder/CCBAnimationManager.cpp +++ b/cocos/editor-support/cocosbuilder/CCBAnimationManager.cpp @@ -53,6 +53,10 @@ CCBAnimationManager::~CCBAnimationManager() // Node *node = (Node*)pElement->getIntKey(); // node->release(); // } + if (_rootNode) + { + _rootNode->stopAllActions(); + } setRootNode(NULL); setDelegate(NULL);