659 B
659 B
- Fixed a deadlock in
TTSServicethat 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 anUninterruptibleFrame(e.g.TTSUpdateSettingsFrame,FunctionCallResultFrame) was in the processing queue at that moment. The process task would block on__process_event.wait()indefinitely becauseBotStoppedSpeakingFramenever arrives (no audio was played) and the interruption handler did not resume processing. Affects services usingpause_frame_processing=Truesuch as ElevenLabs, Rime, AsyncAI, Gradium, and ResembleAI.