Skip to content
Snippets Groups Projects
Commit 4f548b44 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 40933: Add tor-launcher functionality

Bug 42636: A bad bridge line might get TBA stuck.

A while ago I reworked the relationship between TorSettings and
TorProvider. While doing so I was too strict, and a failure to push
settings during initialization will stop the initialization itself,
which will result in TBA stuck at the splash screen.

The problem appears also on desktop (the user will get a prompt that
asks to restart Tor, even though it is not perfect, see #21053).
However, on desktop the user can go to the settings and deleting the
bridges from there (which is not an optimal experience anyway).
parent b7ba9088
1 merge request!1049Bug 42616 (part 2): Rebased onto Firefox 128.0esr release
......@@ -232,11 +232,9 @@ export class TorProvider {
await this.writeSettings(lazy.TorSettings.getSettings());
} catch (e) {
logger.warn(
"Failed to initialize TorSettings or to write our settings, so uninitializing.",
"Failed to initialize TorSettings or to write our initial settings. Continuing the initialization anyway.",
e
);
this.uninit();
throw e;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment