mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
minor: quit uimanager properly on coroutine error
This commit is contained in:
@@ -331,7 +331,7 @@ function ReaderUI:showReader(file)
|
||||
if err ~= nil then
|
||||
print '[!] doShowReader coroutine crashed:'
|
||||
print(debug.traceback(co, err, 1))
|
||||
UIManager._running = false
|
||||
UIManager.quit()
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user