ma1 pushed to branch mullvad-browser-153.6.0esr-16.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
-
a0b4fde9
by hackademix at 2026-10-27T14:30:02+01:00
1 changed file:
Changes:
| ... | ... | @@ -13,6 +13,11 @@ window.addEventListener("load", () => { |
| 13 | 13 | |
| 14 | 14 | init() {
|
| 15 | 15 | Services.prefs.addObserver(this.showPref, this);
|
| 16 | + window.addEventListener("unload", () => {
|
|
| 17 | + if (!this.shown) {
|
|
| 18 | + Services.prefs.removeObserver(this.showPref, this);
|
|
| 19 | + }
|
|
| 20 | + });
|
|
| 16 | 21 | this.maybeShow();
|
| 17 | 22 | },
|
| 18 | 23 |