Ensure that PDFViewerApplication.close
has a *consistent* return value
This commit is contained in:
parent
13742eb82d
commit
f1749f03e3
@ -867,7 +867,9 @@ const PDFViewerApplication = {
|
||||
if (typeof PDFBug !== "undefined") {
|
||||
PDFBug.cleanup();
|
||||
}
|
||||
return Promise.all(promises);
|
||||
await Promise.all(promises);
|
||||
|
||||
return undefined;
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user