coverbrowser: close sqlite db after init (#3897)
Don't keep a handle on bookinfo_cache.sqlite3 when "Start with: last book"
This commit is contained in:
1 parent
7f6aebe399
commit
9e4e71d630
1 file changed
+1
@@ -73,6 +73,7 @@ function CoverBrowser:init()
|
||||
self:setupFileManagerDisplayMode(BookInfoManager:getSetting("filemanager_display_mode"))
|
||||
self:setupHistoryDisplayMode(BookInfoManager:getSetting("history_display_mode"))
|
||||
init_done = true
|
||||
BookInfoManager:closeDbConnection() -- will be re-opened if needed
|
||||
end
|
||||
|
||||
function CoverBrowser:addToMainMenu(menu_items)
|
||||
|
||||
Reference in new issue
Block a user