mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #12126 from Snuffleupagus/unittest-shall_fail_cleanup
Attempt to reduce intermittent failures in the "cleans up document resources during rendering of page" unit-test
This commit is contained in:
commit
01e2610cf4
1 changed files with 5 additions and 1 deletions
|
@ -1906,7 +1906,11 @@ describe("api", function () {
|
|||
viewport,
|
||||
});
|
||||
|
||||
pdfDoc
|
||||
renderTask.onContinue = function (cont) {
|
||||
waitSome(cont);
|
||||
};
|
||||
|
||||
return pdfDoc
|
||||
.cleanup()
|
||||
.then(
|
||||
() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue