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:
Tim van der Meij 2020-07-26 14:33:12 +02:00 committed by GitHub
commit 01e2610cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1906,7 +1906,11 @@ describe("api", function () {
viewport,
});
pdfDoc
renderTask.onContinue = function (cont) {
waitSome(cont);
};
return pdfDoc
.cleanup()
.then(
() => {