Merge pull request #4724 from yurydelendik/issue4723
Fixes cancel rendering regression
This commit is contained in:
commit
164e11fbb6
@ -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…
Reference in New Issue
Block a user