Fix shutdown from pdb.

This commit is contained in:
Florian Bruhin 2015-05-16 23:13:36 +02:00
parent 54131e9d3e
commit d7999577dd

View File

@ -186,7 +186,7 @@ class CrashHandler(QObject):
# pdb exit, KeyboardInterrupt, ...
status = 0 if is_ignored_exception else 2
try:
qapp.shutdown(status)
self._quitter.shutdown(status)
return
except Exception:
log.init.exception("Error while shutting down")