Add some more logging to shutdown.
This commit is contained in:
parent
19d0f832ad
commit
276315483d
@ -692,7 +692,10 @@ class Application(QApplication):
|
|||||||
log.destroy.warning("Could not save {}.".format(what))
|
log.destroy.warning("Could not save {}.".format(what))
|
||||||
log.destroy.debug(e)
|
log.destroy.debug(e)
|
||||||
# Re-enable faulthandler to stdout, then remove crash log
|
# Re-enable faulthandler to stdout, then remove crash log
|
||||||
|
log.destroy.debug("Deactiving crash log...")
|
||||||
self._destroy_crashlogfile()
|
self._destroy_crashlogfile()
|
||||||
# If we don't kill our custom handler here we might get segfaults
|
# If we don't kill our custom handler here we might get segfaults
|
||||||
|
log.destroy.debug("Deactiving message handler...")
|
||||||
qInstallMessageHandler(None)
|
qInstallMessageHandler(None)
|
||||||
|
log.destroy.info("Good bye!")
|
||||||
self.exit(status)
|
self.exit(status)
|
||||||
|
Loading…
Reference in New Issue
Block a user