diff --git a/changelog/4007.fixed.2.md b/changelog/4007.fixed.2.md new file mode 100644 index 000000000..0c50b83e9 --- /dev/null +++ b/changelog/4007.fixed.2.md @@ -0,0 +1 @@ +- Fixed `TTSService` potentially canceling in-flight audio during shutdown. The stop sequence now waits for all queued audio contexts to finish processing before canceling the stop frame task. diff --git a/changelog/4007.fixed.md b/changelog/4007.fixed.md new file mode 100644 index 000000000..8a90aea43 --- /dev/null +++ b/changelog/4007.fixed.md @@ -0,0 +1 @@ +- Fixed `ParallelPipeline` dropping or misordering frames during lifecycle synchronization. Buffered frames are now flushed in the correct order relative to synchronization frames (`StartFrame` goes first, `EndFrame`/`CancelFrame` go after), and frames added to the buffer during flush are also drained.