[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.3.0esr-13.0-1] fixup! Bug 40933: Add tor-launcher functionality



Title: GitLab

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:

Changes:

  • toolkit/components/tor-launcher/TorProviderBuilder.sys.mjs
    ... ... @@ -125,6 +125,11 @@ export class TorProviderBuilder {
    125 125
        */
    
    126 126
       static async firstWindowLoaded() {
    
    127 127
         // FIXME: Just integrate this with the about:torconnect or about:tor UI.
    
    128
    +    if (!lazy.TorLauncherUtil.shouldStartAndOwnTor) {
    
    129
    +      // If we are not managing the Tor daemon we cannot restart it, so just
    
    130
    +      // early return.
    
    131
    +      return;
    
    132
    +    }
    
    128 133
         let running = false;
    
    129 134
         try {
    
    130 135
           const provider = await this.#provider;
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits