mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-09 23:04:02 +02:00
All other code-paths already checks that the `MessageHandler` isn't terminated, but apparently `onFailure` was missing that check (compare e.g. with the `onSuccess` function). From what I can tell, this is only an issue if workers are *disabled*, hence why I didn't bother adding a unit-test. Fixes 8584.