mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3c64011526
commit
2b6a7568d0
@ -175,6 +175,7 @@ class GuiLibraryBroker(LibraryBroker):
|
||||
else:
|
||||
return
|
||||
self.lmap.pop(library_id, None)
|
||||
db = self.loaded_dbs.pop(library_id)
|
||||
db = self.loaded_dbs.pop(library_id, None)
|
||||
if db is not None:
|
||||
db.close(), db.break_cycles()
|
||||
db.close()
|
||||
db.break_cycles()
|
||||
|
Loading…
x
Reference in New Issue
Block a user