Fix shutdown from pdb.
This commit is contained in:
parent
54131e9d3e
commit
d7999577dd
@ -186,7 +186,7 @@ class CrashHandler(QObject):
|
|||||||
# pdb exit, KeyboardInterrupt, ...
|
# pdb exit, KeyboardInterrupt, ...
|
||||||
status = 0 if is_ignored_exception else 2
|
status = 0 if is_ignored_exception else 2
|
||||||
try:
|
try:
|
||||||
qapp.shutdown(status)
|
self._quitter.shutdown(status)
|
||||||
return
|
return
|
||||||
except Exception:
|
except Exception:
|
||||||
log.init.exception("Error while shutting down")
|
log.init.exception("Error while shutting down")
|
||||||
|
Loading…
Reference in New Issue
Block a user