Skip to content

Commit

Permalink
Ensure that PDFViewerApplication.close has a *consistent* return value
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuffleupagus committed Jan 12, 2021
1 parent 6c7d0ad commit 5216905
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,9 @@ const PDFViewerApplication = {
if (typeof PDFBug !== "undefined") {
PDFBug.cleanup();
}
return Promise.all(promises);
await Promise.all(promises);

return undefined;
},

/**
Expand Down

0 comments on commit 5216905

Please sign in to comment.