No issue - Remove leftover reference to focus handler for dev edition doorhanger

Follow-up to 038774e52bb23bff1d323b5289c05fd677043337
This commit is contained in:
FranklinDM 2024-01-25 16:24:46 +08:00 committed by roytam1
commit 1116e8e137

View file

@ -675,7 +675,6 @@ BrowserConsole.prototype = extend(WebConsole.prototype, {
// instance.
let onClose = () => {
window.removeEventListener("unload", onClose);
window.removeEventListener("focus", onFocus);
this.destroy();
};
window.addEventListener("unload", onClose);