Skip to content

fix: clear timers and animation frame request before component unmounts#8700

Merged
scmmishra merged 3 commits into
chatwoot:developfrom
Arooba-git:fix-memory-leak
Jan 22, 2024
Merged

fix: clear timers and animation frame request before component unmounts#8700
scmmishra merged 3 commits into
chatwoot:developfrom
Arooba-git:fix-memory-leak

Conversation

@Arooba-git

Copy link
Copy Markdown
Contributor

Hi 👋

Thank you for this project!

We found a couple of vue components making use of timers and event listeners which were not removed upon component destruction; this could lead to memory leaks. This PR fixes the issue in some noticeable components.
We ran the test cases before and after the fixes to ensure the fixes were non-intrusive.

@netlify

netlify Bot commented Jan 13, 2024

Copy link
Copy Markdown

Deploy Preview for chatwoot-storybook canceled.

Name Link
🔨 Latest commit 18ef0c0
🔍 Latest deploy log https://app.netlify.com/sites/chatwoot-storybook/deploys/65a23c1f3a8d1d000809b5fe

@Arooba-git Arooba-git changed the title Clear timers and animation frame request before component unmounts fix: clear timers and animation frame request before component unmounts Jan 13, 2024
@scmmishra
scmmishra merged commit b3c9d1f into chatwoot:develop Jan 22, 2024
@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants