diff --git a/lib/index.js b/lib/index.js index c4a66299..4316a0fa 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1129,6 +1129,10 @@ class Generator extends EventEmitter { this._composedWith.forEach(runGenerator); this._composedWith = []; + + if (typeof this.env.runLoop.start === 'function') { + this.env.runLoop.start(); + } }); // For composed generators, otherwise error will not be catched.