commit 944c177453619d9919d24fcf811953cca0410a85 Author: Richard Pospesel richard@torproject.org Date: Fri Dec 17 17:28:30 2021 +0100
fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser --- 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