We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84a566b commit 5a275f1Copy full SHA for 5a275f1
1 file changed
src/gameobjects/Text.js
@@ -212,16 +212,6 @@ Phaser.Text.prototype.destroy = function (destroyChildren) {
212
213
PIXI.CanvasPool.remove(this);
214
215
- // if (this.canvas && this.canvas.parentNode)
216
- // {
217
- // this.canvas.parentNode.removeChild(this.canvas);
218
- // }
219
- // else
220
221
- // this.canvas = null;
222
- // this.context = null;
223
224
-
225
Phaser.Component.Destroy.prototype.destroy.call(this, destroyChildren);
226
227
};
0 commit comments