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:
NiLuJe
2014-07-04 20:10:38 +02:00
parent b052296881
commit f1cc984cbf
3 changed files with 21 additions and 3 deletions

View File

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