From 1d30cf8736a8ab56dbff1a048989b0eb0a80c1af Mon Sep 17 00:00:00 2001 From: Jare Guo Date: Fri, 29 Jun 2018 10:21:07 +0800 Subject: [PATCH] fix merge issue (#2923) --- cocos2d/core/label/CCSGLabel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2d/core/label/CCSGLabel.js b/cocos2d/core/label/CCSGLabel.js index 2546e92e79..c1a65637ae 100644 --- a/cocos2d/core/label/CCSGLabel.js +++ b/cocos2d/core/label/CCSGLabel.js @@ -146,7 +146,7 @@ _ccsg.Label = _ccsg.Node.extend({ onExit: function () { this._super(); - this._renderCmd._texture.releaseTexture(); + this._renderCmd._texture._releaseTexture(); this._notifyLabelSkinDirty(); },