From 68ef6f86307dd468ee41cc230b52944288f042fa Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Tue, 10 Apr 2018 15:21:04 +0100 Subject: [PATCH] Removed parentContainer reference --- src/gameobjects/GameObject.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gameobjects/GameObject.js b/src/gameobjects/GameObject.js index 22eb2804a..8d32ab54f 100644 --- a/src/gameobjects/GameObject.js +++ b/src/gameobjects/GameObject.js @@ -375,6 +375,8 @@ var GameObject = new Class({ this.scene = undefined; + this.parentContainer = undefined; + this.removeAllListeners(); }