|
@@ -418,23 +418,23 @@ export class Effect implements IDisposable {
|
|
|
|
|
|
if (!this._pipelineContext || this._pipelineContext.isAsync) {
|
|
|
setTimeout(() => {
|
|
|
- this._checkIsReady();
|
|
|
+ this._checkIsReady(null);
|
|
|
}, 16);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- private _checkIsReady() {
|
|
|
+ private _checkIsReady(previousPipelineContext: Nullable<IPipelineContext>) {
|
|
|
try {
|
|
|
if (this._isReadyInternal()) {
|
|
|
return;
|
|
|
}
|
|
|
} catch (e) {
|
|
|
- this._processCompilationErrors(e);
|
|
|
+ this._processCompilationErrors(e, previousPipelineContext);
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
setTimeout(() => {
|
|
|
- this._checkIsReady();
|
|
|
+ this._checkIsReady(previousPipelineContext);
|
|
|
}, 16);
|
|
|
}
|
|
|
|
|
@@ -589,7 +589,7 @@ export class Effect implements IDisposable {
|
|
|
});
|
|
|
|
|
|
if (this._pipelineContext.isAsync) {
|
|
|
- this._checkIsReady();
|
|
|
+ this._checkIsReady(previousPipelineContext);
|
|
|
}
|
|
|
|
|
|
} catch (e) {
|