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/pr10821/r1
parent
976aaf5f53
commit
0686ee594c
Loading…
Reference in New Issue