fix: kill in fly hinting event on document close

This commit is contained in:
Qingping Hou
2016-02-16 22:36:40 -08:00
parent df6935c20b
commit b63ddb8736
3 changed files with 18 additions and 7 deletions

View File

@@ -488,7 +488,9 @@ function ReaderUI:onClose()
UIManager:close(self.dialog, "full")
-- serialize last used items for later launch
Cache:serialize()
running_instance = nil
if running_instance == self then
running_instance = nil
end
return true
end