[tbb-commits] [tor-launcher/master] Bug 40679: Missing features on first-time launch in esr91

gk at torproject.org gk at torproject.org
Wed Jan 19 13:44:39 UTC 2022


commit d09cfa334a731e705568baf1cd75411b42db04fa
Author: Richard Pospesel <richard at torproject.org>
Date:   Fri Dec 17 16:59:48 2021 +0100

    Bug 40679: Missing features on first-time launch in esr91
    
    - updated tor controller connect calls to use torbutton's new
      async api
    - fixes tor-browser#40679
---
 src/components/tl-protocol.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/tl-protocol.js b/src/components/tl-protocol.js
index cdf5894..f5dddeb 100644
--- a/src/components/tl-protocol.js
+++ b/src/components/tl-protocol.js
@@ -775,7 +775,7 @@ TorProtocolService.prototype =
     var conn;
     try {
       const avoidCache = true;
-      conn = controller(e => { throw e; }, avoidCache);
+      conn = await controller(avoidCache);
 
       if (!aIsEventConnection && TorLauncherUtil.shouldStartAndOwnTor &&
           !TorLauncherUtil.shouldOnlyConfigureTor)



More information about the tbb-commits mailing list