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
@ -1906,7 +1906,11 @@ describe("api", function () {
|
|||||||
viewport,
|
viewport,
|
||||||
});
|
});
|
||||||
|
|
||||||
pdfDoc
|
renderTask.onContinue = function (cont) {
|
||||||
|
waitSome(cont);
|
||||||
|
};
|
||||||
|
|
||||||
|
return pdfDoc
|
||||||
.cleanup()
|
.cleanup()
|
||||||
.then(
|
.then(
|
||||||
() => {
|
() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user