1
0
Fork 0
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:
Jonas Jenwald 2021-01-12 14:29:15 +01:00
parent 13742eb82d
commit f1749f03e3

View file

@ -867,7 +867,9 @@ const PDFViewerApplication = {
if (typeof PDFBug !== "undefined") {
PDFBug.cleanup();
}
return Promise.all(promises);
await Promise.all(promises);
return undefined;
},
/**