[frontend] Timer leaks: 145 setTimeout/setInterval with only 42 matching clears #797
Labels
No labels
area:chat
area:core
area:llm
area:routes
area:tools
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sleepy/odysseus#797
Loading…
Reference in a new issue
No description provided.
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?
Finding
Across the largest JS files, timers are created far more often than they are cleared:
Total: 174 timers created, only 71 cleared — 103 potentially leaked timers.
Impact
setIntervalevery 2s, only cleared on specific conditions)Recommendation