mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-12 18:15:48 +02:00
This piggybacks of the existing `cancel` functionality, to ensure that any pending operations are closed *and* that any temporary canvases are actually being removed. Also simplifies `finishPaintTask` in `PDFPageView.draw` slightly, by converting it to an async function.