add --extra-info CLI option (defaults to False for interactive runs)

This commit is contained in:
holger krekel
2022-05-02 13:44:17 +02:00
parent b373e7acba
commit 026dd4480e
3 changed files with 33 additions and 25 deletions

View File

@@ -250,7 +250,7 @@ class EventThread(threading.Thread):
hook = getattr(self.account._pm.hook, name)
hook(**kwargs)
except Exception:
if self.account._dc_context is not None:
if not self._marked_for_shutdown and self.account._dc_context is not None:
raise
def _map_ffi_event(self, ffi_event: FFIEvent):