mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2024-11-22 04:40:53 +00:00
removes timeout for socket before starting worker thread
This commit is contained in:
parent
6aa6db09eb
commit
cac236c004
@ -52,6 +52,7 @@ class EventClient:
|
||||
return type(self).__name__
|
||||
|
||||
def subscribe(self):
|
||||
self.base_client.ws.settimeout(None)
|
||||
stop_event = threading.Event()
|
||||
self.worker = threading.Thread(
|
||||
target=self.trigger, daemon=True, args=(stop_event,)
|
||||
|
Loading…
Reference in New Issue
Block a user