Skip to content

Comments

fix: cleanup event listeners on unmount (#301)#329

Merged
pradeeban merged 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/event-listener-cleanup
Feb 20, 2026
Merged

fix: cleanup event listeners on unmount (#301)#329
pradeeban merged 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/event-listener-cleanup

Conversation

@avinxshKD
Copy link

fixes #301

adds cleanup returns to the 4 useEffects that were leaking listeners. named the anonymous callbacks so they can actually be removed. used refs in File-drag-drop to avoid stale closure on drop. nothing else changedd

@pradeeban pradeeban merged commit 9d75390 into ControlCore-Project:dev Feb 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants