Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove event listeners before component unmounts #1982

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Arooba-git
Copy link

Hi! 👋
The event listeners added in ResizablePanels and StepForm are never removed once added. Even after the component unmounts, the event handlers remain bound to the events. This would lead to an accumulation of such listeners each time a component is mounted, leading to a memory leak. This PR fixes this issue:)

The event listeners added in ResizablePanels and StepForm are never removed once added. Even after the component unmounts, the event handlers remain bound to the events. This would lead to accumulation of such listeners each time component is mounted, leading to memory leak.
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.

None yet

1 participant