diff --git a/python/src/deltachat/account.py b/python/src/deltachat/account.py index c83843422..863f9efbd 100644 --- a/python/src/deltachat/account.py +++ b/python/src/deltachat/account.py @@ -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()