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:
yulia 2018-08-31 15:53:47 +02:00
Родитель da55f7e44b
Коммит 0e9801d96d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -84,6 +84,7 @@ exports.InspectorActor = protocol.ActorClassWithSpec(inspectorSpec, {
},
destroy: function() {
protocol.Actor.prototype.destroy.call(this);
this.destroyEyeDropper();
this._highlighterPromise = null;
@ -91,7 +92,6 @@ exports.InspectorActor = protocol.ActorClassWithSpec(inspectorSpec, {
this._walkerPromise = null;
this.walker = null;
this.targetActor = null;
protocol.Actor.prototype.destroy.call(this);
},
get window() {