From 9e25c3a4f9271df8fc305b57540f2e2a6eb30038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Rodriguez=20V=C3=A9lez?= Date: Sat, 12 Feb 2022 13:33:24 -0500 Subject: [PATCH] Update Tor.swift --- ios/Tor.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ios/Tor.swift b/ios/Tor.swift index 127a402..16d251b 100644 --- a/ios/Tor.swift +++ b/ios/Tor.swift @@ -42,6 +42,11 @@ class Tor: RCTEventEmitter { var streams:Dictionary = [:]; var hasLnser = false; var clienTimeout:TimeInterval = 60; + + @objc + override static func requiresMainQueueSetup() -> Bool { + return false + } func getProxiedClient(headers:Optional,socksPort:UInt16,trustInvalidSSL: Bool = false)->URLSession{ let config = URLSessionConfiguration.default;