[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-153.6.0esr-16.0-1] fixup! MB 538: Mullvad DoH discontinued notification.



Title: GitLab

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
    fixup! MB 538: Mullvad DoH discontinued notification.
    
    MB 586: Stop leaking browser windows in mullvadDoHNotification.js
    

1 changed file:

Changes:

  • browser/base/content/mullvadDoHNotification.js
    ... ... @@ -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
     
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx