1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-23 00:28:06 +02:00

Fixes cancel rendering regression

This commit is contained in:
Yury Delendik 2014-05-01 15:51:38 -05:00
parent 15914292d9
commit 2b82eb0161

View file

@ -1283,7 +1283,6 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
cancel: function InternalRenderTask_cancel() {
this.running = false;
this.cancelled = true;
this.capability.reject(new Error('Rendering is cancelled'));
this.callback('cancelled');
},