mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
Adds Promise to the getOperatorList
This commit is contained in:
parent
37a6aac972
commit
d8eb8b1de1
6 changed files with 568 additions and 488 deletions
|
@ -387,8 +387,7 @@ var WorkerMessageHandler = PDFJS.WorkerMessageHandler = {
|
|||
});
|
||||
|
||||
handler.on('Cleanup', function wphCleanup(data) {
|
||||
pdfManager.cleanup();
|
||||
return true;
|
||||
return pdfManager.cleanup();
|
||||
});
|
||||
|
||||
handler.on('Terminate', function wphTerminate(data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue