fix(cli): resolve memory leak in btw hook cleanup

This commit is contained in:
Mahima Shanware
2026-04-03 18:35:49 +00:00
parent ddeacbd33b
commit 96798e32b2
+3
View File
@@ -215,6 +215,9 @@ export const useBtw = (
if (abortControllerRef.current) {
abortControllerRef.current.abort();
}
if (flushTimerRef.current) {
clearTimeout(flushTimerRef.current);
}
},
[],
);