Files
pipecat/changelog/3796.fixed.md
iamjr15 565349d332 Fix asyncio.Event race conditions in idle processors
Move event.clear() from finally block to success path in
IdleFrameProcessor and UserIdleProcessor._idle_task_handler().
The finally block unconditionally cleared signals set during
async timeout callbacks, causing false-positive idle detection.

Closes #3402
2026-04-09 13:41:01 -07:00

137 B

  • Fixed IdleFrameProcessor where asyncio.Event was unconditionally cleared in a finally block instead of only on the success path.