fix(web): abort reset
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* @Author: ZhaoYing
|
* @Author: ZhaoYing
|
||||||
* @Date: 2026-02-03 16:27:39
|
* @Date: 2026-02-03 16:27:39
|
||||||
* @Last Modified by: ZhaoYing
|
* @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
|
* Chat debugging component for application testing
|
||||||
@@ -79,8 +79,6 @@ const Chat: FC<ChatProps> = ({
|
|||||||
setCompareLoading(false)
|
setCompareLoading(false)
|
||||||
setLoading(false)
|
setLoading(false)
|
||||||
return () => {
|
return () => {
|
||||||
abortRef.current?.()
|
|
||||||
abortRef.current = null
|
|
||||||
audioPollingRef.current.forEach(timer => clearInterval(timer))
|
audioPollingRef.current.forEach(timer => clearInterval(timer))
|
||||||
audioPollingRef.current.clear()
|
audioPollingRef.current.clear()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user