mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-01 03:24:55 +00:00
fix: Small drag and drop fixes and possible leak fix, b=no-bug, c=mods, split-view, workspaces
This commit is contained in:
@@ -140,6 +140,9 @@ class nsZenWorkspaces {
|
||||
this._invalidateBookmarkContainers();
|
||||
};
|
||||
Services.obs.addObserver(observerFunction, "workspace-bookmarks-updated");
|
||||
window.addEventListener("unload", () => {
|
||||
Services.obs.removeObserver(observerFunction, "workspace-bookmarks-updated");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user