Loading devtools/client/application/panel.js +0 −2 Original line number Diff line number Diff line Loading @@ -38,8 +38,6 @@ class ApplicationPanel { this.panelWin = null; this.toolbox = null; this.emit("destroyed"); return this; } } Loading devtools/client/dom/panel.js +6 −10 Original line number Diff line number Diff line Loading @@ -89,19 +89,15 @@ DomPanel.prototype = { }, destroy() { if (this._destroying) { return this._destroying; if (this._destroyed) { return; } this._destroyed = true; this._destroying = new Promise(resolve => { this.target.off("navigate", this.onTabNavigated); this._toolbox.off("select", this.onPanelVisibilityChange); this.emit("destroyed"); resolve(); }); return this._destroying; }, // Events Loading Loading
devtools/client/application/panel.js +0 −2 Original line number Diff line number Diff line Loading @@ -38,8 +38,6 @@ class ApplicationPanel { this.panelWin = null; this.toolbox = null; this.emit("destroyed"); return this; } } Loading
devtools/client/dom/panel.js +6 −10 Original line number Diff line number Diff line Loading @@ -89,19 +89,15 @@ DomPanel.prototype = { }, destroy() { if (this._destroying) { return this._destroying; if (this._destroyed) { return; } this._destroyed = true; this._destroying = new Promise(resolve => { this.target.off("navigate", this.onTabNavigated); this._toolbox.off("select", this.onPanelVisibilityChange); this.emit("destroyed"); resolve(); }); return this._destroying; }, // Events Loading