[frontend] Event listener leaks: 2,225 addEventListener vs 242 removeEventListener #791
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#791
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
Frontend JS has 2,225 addEventListener calls but only 242 removeEventListener calls — a 9:1 ratio indicating systematic listener leaks. Worst offenders:
Impact
Recommendation
signalto all addEventListener calls, thencontroller.abort()to clean up all at once