[中] AgentChat流正常结束后streamTimeout未清除 #100
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题描述
frontend/src/views/AgentChat.vue 第411行,SSE流正常结束后 streamTimeout 定时器未被清除,可能在后续操作中意外触发。
涉及文件
修复建议
在流正常结束的 final 事件处理中清除 streamTimeout。
严重程度
中 - 定时器泄漏