Merge pull request #4724 from yurydelendik/issue4723

Fixes cancel rendering regression
This commit is contained in:
Jonas Jenwald 2014-05-01 22:59:54 +02:00
commit 164e11fbb6

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');
},