From 1a826c0026328a1558dade8328d0c2f09d21bf3a Mon Sep 17 00:00:00 2001 From: zhaoying Date: Tue, 21 Apr 2026 15:08:15 +0800 Subject: [PATCH] Revert "fix(web): abort reset" This reverts commit 8cab49c2b178e9004b2d736269decd4b896f909e. --- web/src/views/ApplicationConfig/components/Chat.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/views/ApplicationConfig/components/Chat.tsx b/web/src/views/ApplicationConfig/components/Chat.tsx index dc8272bf..6cf7b438 100644 --- a/web/src/views/ApplicationConfig/components/Chat.tsx +++ b/web/src/views/ApplicationConfig/components/Chat.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-03 16:27:39 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-04-21 15:06:40 + * @Last Modified time: 2026-04-10 18:51:43 */ /** * Chat debugging component for application testing @@ -79,6 +79,8 @@ const Chat: FC = ({ setCompareLoading(false) setLoading(false) return () => { + abortRef.current?.() + abortRef.current = null audioPollingRef.current.forEach(timer => clearInterval(timer)) audioPollingRef.current.clear() }