mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Fixing concurrency and test driver
This commit is contained in:
parent
1e96c73207
commit
357805696b
2 changed files with 18 additions and 2 deletions
|
@ -195,9 +195,11 @@ function nextPage(task, loadError) {
|
|||
viewport: viewport
|
||||
};
|
||||
page.render(renderContext).then(function() {
|
||||
page.destroy();
|
||||
snapshotCurrentPage(task, false);
|
||||
},
|
||||
function(error) {
|
||||
page.destroy();
|
||||
snapshotCurrentPage(task, 'render : ' + error);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue