Skip to content

Remove component instance event listener when component unmounts#87

Open
Arooba-git wants to merge 1 commit into
bartdominiak:masterfrom
Arooba-git:fix-memory-leak
Open

Remove component instance event listener when component unmounts#87
Arooba-git wants to merge 1 commit into
bartdominiak:masterfrom
Arooba-git:fix-memory-leak

Conversation

@Arooba-git
Copy link
Copy Markdown

Hi 👋
Thank you for this project.

The event listener on the Carousel component that listens for go-to-page events is not removed when the component unmounts. This can result in the buildup of unremoved event listeners leading to memory leaks. This PR fixes this issue. :)

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.

1 participant