Skip to content
Snippets Groups Projects
Verified Commit 01bb1519 authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser

Bug 41836: Rename deinit to uninit.
parent 0e3cd929
No related branches found
No related tags found
1 merge request!694Bug 41796: Rebased on top of FIREFOX_ESR_115_BASE
......@@ -56,7 +56,7 @@ var gTorConnectTitlebarStatus = {
/**
* De-initialize the component.
*/
deinit() {
uninit() {
Services.obs.removeObserver(this._stateListener, this._observeTopic);
},
......
......@@ -90,7 +90,7 @@ var gTorConnectUrlbarButton = {
/**
* Deactivate and de-initialize the button.
*/
deinit() {
uninit() {
if (!this._isActive) {
return;
}
......@@ -116,7 +116,7 @@ var gTorConnectUrlbarButton = {
TorConnect.state === TorConnectState.Bootstrapped ||
TorConnect.state === TorConnectState.Disabled
) {
this.deinit();
this.uninit();
return;
}
this._updateButtonVisibility();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment