diff --git a/browser/devtools/inspector/inspector-panel.js b/browser/devtools/inspector/inspector-panel.js index e07d8d5ecb3..e55ed90095d 100644 --- a/browser/devtools/inspector/inspector-panel.js +++ b/browser/devtools/inspector/inspector-panel.js @@ -358,6 +358,9 @@ InspectorPanel.prototype = { this._initMarkup(); this.once("markuploaded", () => { + if (this._destroyPromise) { + return; + } this.markup.expandNode(this.selection.nodeFront); this.setupSearchBox(); this.emit("new-root");