diff --git a/cocos2d/core/components/CCAnimation.js b/cocos2d/core/components/CCAnimation.js index c707ab6985..a2269948dd 100644 --- a/cocos2d/core/components/CCAnimation.js +++ b/cocos2d/core/components/CCAnimation.js @@ -165,6 +165,10 @@ var Animation = cc.Class({ this.pause(); }, + onDestroy: function () { + this.stop(); + }, + /////////////////////////////////////////////////////////////////////////////// // Public Methods ///////////////////////////////////////////////////////////////////////////////