mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
During shutdown, the gui attempts to update itself if a library closed plugin updates columns. This happens because the gui thinks the database is still open when the windows are being hidden.
This commit is contained in:
parent
dc55185da7
commit
b9b688efc5
@ -956,7 +956,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
|||||||
mb.stop()
|
mb.stop()
|
||||||
|
|
||||||
if db is not None:
|
if db is not None:
|
||||||
db.close()
|
self.library_view.model().close()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user