From 4512038a179a6c54f948fee143e706e57889494b Mon Sep 17 00:00:00 2001 From: filipi87 Date: Wed, 6 May 2026 13:36:20 -0300 Subject: [PATCH] Creating a changelog entry for the fix. --- changelog/4431.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/4431.fixed.md diff --git a/changelog/4431.fixed.md b/changelog/4431.fixed.md new file mode 100644 index 000000000..688537931 --- /dev/null +++ b/changelog/4431.fixed.md @@ -0,0 +1 @@ +- Fixed a deadlock in `TTSService` that could permanently stall pipeline processing when all three conditions occurred together: `pause_frame_processing=True`, an interruption arrived before any TTS audio was played, and an `UninterruptibleFrame` (e.g. `TTSUpdateSettingsFrame`, `FunctionCallResultFrame`) was in the processing queue at that moment. The process task would block on `__process_event.wait()` indefinitely because `BotStoppedSpeakingFrame` never arrives (no audio was played) and the interruption handler did not resume processing. Affects services using `pause_frame_processing=True` such as ElevenLabs, Rime, AsyncAI, Gradium, and ResembleAI.