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;
},
/**