mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 08:53:41 +02:00
...
This commit is contained in:
commit
dadd3417f7
1 changed files with 6 additions and 1 deletions
|
|
@ -522,7 +522,12 @@ def confirm_quit(self):
|
|||
|
||||
|
||||
def shutdown(self, write_settings=True):
|
||||
self.library_view.model().db.clean()
|
||||
try:
|
||||
cf = self.library_view.model().db.clean
|
||||
except:
|
||||
pass
|
||||
else:
|
||||
cf()
|
||||
for action in self.iactions.values():
|
||||
if not action.shutting_down():
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue