1
0
Fork 0
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:
Yury Delendik 2014-05-09 20:21:15 -05:00
parent 37a6aac972
commit d8eb8b1de1
6 changed files with 568 additions and 488 deletions

View file

@ -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) {