mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
close screen framebuffer when exiting reader
This commit is contained in:
@@ -38,8 +38,6 @@ function exitReader()
|
||||
|
||||
G_reader_settings:close()
|
||||
|
||||
input.closeAll()
|
||||
|
||||
-- Close lipc handles
|
||||
KindlePowerD:coda()
|
||||
ReaderActivityIndicator:coda()
|
||||
@@ -64,6 +62,9 @@ function exitReader()
|
||||
end
|
||||
end
|
||||
|
||||
input.closeAll()
|
||||
Screen:close()
|
||||
|
||||
if Profiler then Profiler.stop() end
|
||||
os.exit(0)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user