[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-115.3.0esr-13.0-1] fixup! Bug 40933: Add tor-launcher functionality
richard (@richard)
git at gitlab.torproject.org
Thu Sep 28 17:49:42 UTC 2023
richard pushed to branch tor-browser-115.3.0esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
1d7a2112 by Pier Angelo Vendrame at 2023-09-28T18:38:11+02:00
fixup! Bug 40933: Add tor-launcher functionality
Bug 42129: Do not prompt to restart Tor if we could not connect to the
control port but we were asked not to start it.
- - - - -
1 changed file:
- toolkit/components/tor-launcher/TorProviderBuilder.sys.mjs
Changes:
=====================================
toolkit/components/tor-launcher/TorProviderBuilder.sys.mjs
=====================================
@@ -125,6 +125,11 @@ export class TorProviderBuilder {
*/
static async firstWindowLoaded() {
// FIXME: Just integrate this with the about:torconnect or about:tor UI.
+ if (!lazy.TorLauncherUtil.shouldStartAndOwnTor) {
+ // If we are not managing the Tor daemon we cannot restart it, so just
+ // early return.
+ return;
+ }
let running = false;
try {
const provider = await this.#provider;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/1d7a2112d5868ad79f6b7fa4286ae30b25730542
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/1d7a2112d5868ad79f6b7fa4286ae30b25730542
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230928/da7d08ee/attachment-0001.htm>
More information about the tbb-commits
mailing list