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

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



commit d09cfa334a731e705568baf1cd75411b42db04fa
Author: Richard Pospesel <richard@xxxxxxxxxxxxxx>
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)

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