mirror of https://github.com/koreader/koreader
ReaderView: Make sure we unschedule the hinting task on actual teardown.
onCloseDocument is way too early, if another, later onCloseDocument handler trips a ReaderUI repaint, a new task will be scheduled, and that one will never be cancelled, resulting in it running post-teardown, crashing horribly. This was for instance very easy to trigger via KOSync. Fix #10806reviewable/pr10803/r3
parent
e8936e3123
commit
cdee20169b
Loading…
Reference in New Issue