mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
@@ -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