mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 05:59:59 +02:00
Refactor ZenGlanceManager.mjs to destroy current browser when closing glance
This commit is contained in:
parent
5e791df74c
commit
b8d9d79ccc
2 changed files with 17 additions and 6 deletions
|
@ -163,6 +163,7 @@
|
|||
this.browserWrapper.removeAttribute("animate-end");
|
||||
|
||||
setTimeout(() => {
|
||||
this.#currentBrowser?.destroy();
|
||||
this.#currentBrowser?.remove();
|
||||
this.#currentTab?.remove();
|
||||
this.#currentBrowser = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue