bugfix: gather can only resolve once

This commit is contained in:
Dave Horton
2020-07-20 08:58:37 -04:00
parent b739737c29
commit 3624b05eb6

View File

@@ -150,6 +150,8 @@ class TaskGather extends Task {
}
async _resolve(reason, evt) {
if (this.resolved) return;
this.resolved = true;
this.logger.debug(`TaskGather:resolve with reason ${reason}`);
this._clearTimer();