mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Close lipc handles on exit.
No idea if bad things happen if we don't, but at least this sounds more correct. (re #696)
This commit is contained in:
@@ -45,4 +45,10 @@ function ReaderActivityIndicator:onStopActivityIndicator()
|
||||
return true
|
||||
end
|
||||
|
||||
function ReaderActivityIndicator:coda()
|
||||
if self.lipc_handle then
|
||||
self.lipc_handle:close()
|
||||
end
|
||||
end
|
||||
|
||||
return ReaderActivityIndicator
|
||||
|
||||
Reference in New Issue
Block a user