mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-02-13 01:39:26 +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) {
|
async _resolve(reason, evt) {
|
||||||
|
if (this.resolved) return;
|
||||||
|
this.resolved = true;
|
||||||
this.logger.debug(`TaskGather:resolve with reason ${reason}`);
|
this.logger.debug(`TaskGather:resolve with reason ${reason}`);
|
||||||
|
|
||||||
this._clearTimer();
|
this._clearTimer();
|
||||||
|
|||||||
Reference in New Issue
Block a user