mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
FileManager/ReaderUI: Clarify the current instance accessor (#7658)
* FileManager/ReaderUI: Clarify the current instance accessor Make it clearer that we actually store it in a *module/class* member, not an *instance* member. Also, warn if there's a close/open mismatch.
This commit is contained in:
@@ -342,7 +342,6 @@ local function exitReader()
|
||||
|
||||
-- Save current rotation (or the original rotation if ScreenSaver temporarily modified it) to remember it for next startup
|
||||
G_reader_settings:saveSetting("closed_rotation_mode", Device.orig_rotation_mode or Device.screen:getRotationMode())
|
||||
|
||||
G_reader_settings:close()
|
||||
|
||||
-- Close lipc handles
|
||||
|
||||
Reference in New Issue
Block a user