mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +02:00
Fixes cancel rendering regression
This commit is contained in:
parent
15914292d9
commit
2b82eb0161
1 changed files with 0 additions and 1 deletions
|
@ -1283,7 +1283,6 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
|
||||||
cancel: function InternalRenderTask_cancel() {
|
cancel: function InternalRenderTask_cancel() {
|
||||||
this.running = false;
|
this.running = false;
|
||||||
this.cancelled = true;
|
this.cancelled = true;
|
||||||
this.capability.reject(new Error('Rendering is cancelled'));
|
|
||||||
this.callback('cancelled');
|
this.callback('cancelled');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue