mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
bugfix: gather can only resolve once
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user