Skip to content

Commit 5a275f1

Browse files
committed
Removing dead code.
1 parent 84a566b commit 5a275f1

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/gameobjects/Text.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,6 @@ Phaser.Text.prototype.destroy = function (destroyChildren) {
212212

213213
PIXI.CanvasPool.remove(this);
214214

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-
225215
Phaser.Component.Destroy.prototype.destroy.call(this, destroyChildren);
226216

227217
};

0 commit comments

Comments
 (0)