Skip to content

Clear timing events and event listeners before component unmounts#45

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

Clear timing events and event listeners before component unmounts#45
Arooba-git wants to merge 1 commit into
chfree:masterfrom
Arooba-git:fix-memory-leak

Conversation

@Arooba-git

Copy link
Copy Markdown

Hello 👋 , thank you for this toolkit!

We found a couple of event listeners and timing events that were not removed when the component unmounts. This leads to an accumulation of unremoved listeners and timers leading to memory leak. This PR fixes the issue. :) We also measured heap usage and leak count before and after the fix using Memlab.
Before
think-vuele-before

After
thinl-vuele-after

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