mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
The turn_completed notification handler called eventQueue.end(), which could terminate a replacement stream's queue if the old interrupted turn's completion arrived after the new stream had set up its queue. The streamInternal loop already breaks on terminal events, making the end() call redundant and unsafe during replaceAgentRun.