fixed gather should ignore transcription if task is killed/resolved. (#1465)

* fixed gather should ignore transcription if task is killed/resolved.

* wip
This commit is contained in:
Hoan Luu Huu
2025-12-12 21:03:08 +07:00
committed by GitHub
parent 57982335e0
commit c5cd488fdf

View File

@@ -1318,6 +1318,8 @@ class TaskGather extends SttTask {
}
this.resolved = true;
// gather is resolved, prevent any further transcription events while resolve in progress
this.removeCustomEventListeners();
// If bargin is false and ws application return ack to verb:hook
// the gather should not play any audio
this._killAudio(this.cs);