This commit is contained in:
Kovid Goyal 2017-04-10 15:52:34 +05:30
parent 3c64011526
commit 2b6a7568d0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -175,6 +175,7 @@ class GuiLibraryBroker(LibraryBroker):
else: else:
return return
self.lmap.pop(library_id, None) 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: if db is not None:
db.close(), db.break_cycles() db.close()
db.break_cycles()