diff --git a/toolkit/devtools/server/actors/root.js b/toolkit/devtools/server/actors/root.js index 02d94ae24247..4cc53c39b9cd 100644 --- a/toolkit/devtools/server/actors/root.js +++ b/toolkit/devtools/server/actors/root.js @@ -196,6 +196,11 @@ RootActor.prototype = { this._parameters.onShutdown(); } this._extraActors = null; + this.conn = null; + this._tabActorPool = null; + this._globalActorPool = null; + this._parameters = null; + this._chromeActor = null; }, /* The 'listTabs' request and the 'tabListChanged' notification. */ diff --git a/toolkit/devtools/server/main.js b/toolkit/devtools/server/main.js index 7ed006ee26ad..986f4e16967d 100644 --- a/toolkit/devtools/server/main.js +++ b/toolkit/devtools/server/main.js @@ -1555,6 +1555,8 @@ DebuggerServerConnection.prototype = { this._extraPools.map(function(p) { p.cleanup(); }); this._extraPools = null; + this.rootActor = null; + this._transport = null; DebuggerServer._connectionClosed(this); },