close screen framebuffer when exiting reader

This commit is contained in:
chrox
2014-08-17 17:38:33 +08:00
parent 88c80f447b
commit c8bc9ee37c
3 changed files with 9 additions and 3 deletions

View File

@@ -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