mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #9422 (I've been getting this error when closing calibre)
This commit is contained in:
parent
49e4f2cf28
commit
996ea67ec7
@ -656,6 +656,8 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
pass
|
||||
time.sleep(2)
|
||||
self.hide_windows()
|
||||
# Do not report any errors that happen after the shutdown
|
||||
sys.excepthook = sys.__excepthook__
|
||||
return True
|
||||
|
||||
def run_wizard(self, *args):
|
||||
|
Loading…
x
Reference in New Issue
Block a user