summaryrefslogtreecommitdiff
path: root/fitz/image_tiff.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-04-24 16:16:49 +0100
committerRobin Watts <robin.watts@artifex.com>2012-04-24 16:16:49 +0100
commitf76104c61bf4c3c5a092d08a1138ce79278aab76 (patch)
tree5f06b928d3bebeeb08909de133a72d726cc6d957 /fitz/image_tiff.c
parent02d561f29328dc827be3443e08bbe23bef367655 (diff)
downloadmupdf-f76104c61bf4c3c5a092d08a1138ce79278aab76.tar.xz
Fix crash in android app due to flood of page seeks.
Sebras found a way of crashing the MuPDF Android app by seeking quickly back and forth with the page seek bar. After about 30 seconds of frantically tapping either end of it, we'd force close. Examination shows this is due to the Async task queue getting full and throwing an exception. A simple fix is to catch the exception and perform the same tasks in the foreground. Testing indicates that this causes the UI to stall, but it's far preferable to a crash.
Diffstat (limited to 'fitz/image_tiff.c')
0 files changed, 0 insertions, 0 deletions