Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2024-01-29 15:31:31 +08:00
commit 0db181d2b7
21 changed files with 1554 additions and 998 deletions

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);