зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1447484 - fix async destroy issues caused by destroying actor prototype at end of inspector
actor; CLOSED TREE --HG-- extra : amend_source : ee58ed641cecc7fa1beba2a26e4d362dd5de0bf5
This commit is contained in:
Родитель
da55f7e44b
Коммит
0e9801d96d
|
@ -84,6 +84,7 @@ exports.InspectorActor = protocol.ActorClassWithSpec(inspectorSpec, {
|
||||||
},
|
},
|
||||||
|
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
|
protocol.Actor.prototype.destroy.call(this);
|
||||||
this.destroyEyeDropper();
|
this.destroyEyeDropper();
|
||||||
|
|
||||||
this._highlighterPromise = null;
|
this._highlighterPromise = null;
|
||||||
|
@ -91,7 +92,6 @@ exports.InspectorActor = protocol.ActorClassWithSpec(inspectorSpec, {
|
||||||
this._walkerPromise = null;
|
this._walkerPromise = null;
|
||||||
this.walker = null;
|
this.walker = null;
|
||||||
this.targetActor = null;
|
this.targetActor = null;
|
||||||
protocol.Actor.prototype.destroy.call(this);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
get window() {
|
get window() {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче