This commit is contained in:
itsdeka
2021-12-14 23:17:42 +01:00

View File

@@ -84,10 +84,7 @@ class GenericWebsocket:
thread and connection.
"""
self._start_new_socket()
try:
event_loop = asyncio.get_event_loop()
except Exception:
event_loop = None
if not event_loop or not event_loop.is_running():
while True:
time.sleep(1)