mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Ensure that PDFViewerApplication.close
has a *consistent* return value
This commit is contained in:
parent
13742eb82d
commit
f1749f03e3
1 changed files with 3 additions and 1 deletions
|
@ -867,7 +867,9 @@ const PDFViewerApplication = {
|
|||
if (typeof PDFBug !== "undefined") {
|
||||
PDFBug.cleanup();
|
||||
}
|
||||
return Promise.all(promises);
|
||||
await Promise.all(promises);
|
||||
|
||||
return undefined;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue