fix(web): abort reset

This commit is contained in:
zhaoying
2026-04-21 15:07:16 +08:00
parent a2df14f658
commit 8cab49c2b1

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 16:27:39
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-04-10 18:51:43
* @Last Modified time: 2026-04-21 15:06:40
*/
/**
* Chat debugging component for application testing
@@ -79,8 +79,6 @@ const Chat: FC<ChatProps> = ({
setCompareLoading(false)
setLoading(false)
return () => {
abortRef.current?.()
abortRef.current = null
audioPollingRef.current.forEach(timer => clearInterval(timer))
audioPollingRef.current.clear()
}