add peer-to-peer file sharing plugin ZSync

This commit is contained in:
chrox
2014-06-23 22:33:11 +08:00
parent 3967ba0346
commit 26f5a4731e
10 changed files with 605 additions and 19 deletions

View File

@@ -301,6 +301,7 @@ end
function ReaderUI:onClose()
DEBUG("closing reader")
self:saveSettings()
self:handleEvent(Event:new("CloseReader"))
if self.document ~= nil then
self.document:close()
self.document = nil