richard pushed to branch tor-browser-115.3.0esr-13.0-1 at The Tor Project / Applications / Tor Browser

Commits:

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;