Fixes this.reject regression
This commit is contained in:
parent
c6d201b13b
commit
e612da2c3d
@ -1112,7 +1112,7 @@ var RenderTask = (function RenderTaskClosure() {
|
||||
*/
|
||||
cancel: function RenderTask_cancel() {
|
||||
this.internalRenderTask.cancel();
|
||||
this.reject(new Error('Rendering is cancelled'));
|
||||
this.promise.reject(new Error('Rendering is cancelled'));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user