mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1145049 - Stop leaking tab actors and root actor on disconnect. r=jryans
This commit is contained in:
parent
bb99cc2740
commit
51fd247286
@ -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. */
|
||||
|
@ -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);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user