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

add clearTimeout to ChartPathProvider useEffect #30

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ideopunk
Copy link

@ideopunk ideopunk commented Jun 8, 2021

The current implementation of ChartPathProvider triggers a memory leak warning, because the timeout in ChartPathProvider's main useEffect isn't cleared on unmount. This PR adds a clean-up.

@osdnk
Copy link
Contributor

osdnk commented Sep 20, 2021

can you remove all changes related to whitespaces?

@pistonsky
Copy link

I think you can just use the first commit and drop other 3.

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.

4 participants