예제 #1
0
파일: app.py 프로젝트: pyrho/qutebrowser
 def exit(self, status):
     """Extend QApplication::exit to log the event."""
     log.destroy.debug("Now calling QApplication::exit.")
     if self._args.debug_exit:
         print("Now logging late shutdown.", file=sys.stderr)
         debug.trace_lines(True)
     super().exit(status)
예제 #2
0
 def exit(self, status):
     """Extend QApplication::exit to log the event."""
     log.destroy.debug("Now calling QApplication::exit.")
     if self._args.debug_exit:
         print("Now logging late shutdown.", file=sys.stderr)
         debug.trace_lines(True)
     super().exit(status)