This commit is contained in:
holger krekel
2020-01-29 16:25:39 +01:00
parent a2c94fc715
commit 35d055ea62

View File

@@ -567,7 +567,6 @@ class IOThreads:
def stop(self, wait=False):
lib.dc_context_shutdown(self._dc_context)
if wait:
for name, thread in self._name2thread.items():
thread.join()
@@ -579,6 +578,7 @@ class IOThreads:
self._log_event("py-bindings-info", 0, "INBOX THREAD FINISHED")
class EventLogger:
_loglock = threading.RLock()