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

[tor-commits] [tor-browser/tor-browser-91.4.1esr-11.0-1] fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser



commit e1d611232382b50b408cba3307e9d3703c3fd514
Author: Richard Pospesel <richard@xxxxxxxxxxxxxx>
Date:   Fri Dec 17 17:28:30 2021 +0100

    fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser
    
    Closes: tor-browser#40756.
---
 browser/components/torpreferences/content/torPane.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/browser/components/torpreferences/content/torPane.js b/browser/components/torpreferences/content/torPane.js
index 6905cbe473ac..2df71db9327e 100644
--- a/browser/components/torpreferences/content/torPane.js
+++ b/browser/components/torpreferences/content/torPane.js
@@ -577,8 +577,8 @@ const gTorPane = (function() {
 
     uninit() {
       // unregister our observer topics
-      Services.obs.removeObserver(TorSettingsTopics.SettingChanged, this);
-      Services.obs.removeObserver(TorConnectTopics.StateChange, this);
+      Services.obs.removeObserver(this, TorSettingsTopics.SettingChanged);
+      Services.obs.removeObserver(this, TorConnectTopics.StateChange);
     },
 
     // whether the page should be present in about:preferences

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits