Skip to content
Snippets Groups Projects
Verified Commit 98c8e6ef authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 40597: Implement TorSettings module

Bug 42607 (part): Do not try to enable Lox on Android.

Lox is not on Android, yet (not even in alpha), so we removed its WASM
blob to make x86 build fit the play store requirements.
However, this causes an error message in the console, which we do not
need to show because it is completely expected.
parent ad8c031a
Branches
Tags
1 merge request!1222Bug 43166: Rebased alpha onto 128.3.0esr
......@@ -696,11 +696,13 @@ class TorSettingsImpl {
// Initialize this before loading from prefs because we need Lox initialized
// before any calls to Lox.getBridges().
if (!lazy.TorLauncherUtil.isAndroid) {
try {
await lazy.Lox.init();
} catch (e) {
lazy.logger.error("Could not initialize Lox.", e);
}
}
if (
lazy.TorLauncherUtil.shouldStartAndOwnTor &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment