mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1161072 - Destroy inspector actor on disconnect. r=pbrosset
This commit is contained in:
parent
edc35b9fff
commit
19870be012
@ -3421,6 +3421,16 @@ var InspectorActor = exports.InspectorActor = protocol.ActorClass({
|
||||
this.tabActor = tabActor;
|
||||
},
|
||||
|
||||
destroy: function () {
|
||||
protocol.Actor.prototype.destroy.call(this);
|
||||
},
|
||||
|
||||
// Forces destruction of the actor and all its children
|
||||
// like highlighter, walker and style actors.
|
||||
disconnect: function() {
|
||||
this.destroy();
|
||||
},
|
||||
|
||||
get window() this.tabActor.window,
|
||||
|
||||
getWalker: method(function(options={}) {
|
||||
|
Loading…
Reference in New Issue
Block a user