Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

fix: clearTimout on unmount (#1103) #1201

Merged
merged 1 commit into from
Jul 29, 2021
Merged

Conversation

dimaportenko
Copy link
Contributor

@dimaportenko dimaportenko commented Jul 8, 2021

This PR fixes #1103.
Basically, just clear timeout on component unmount.

Copy link

@BennEntterprise BennEntterprise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me. A fairly straightforward unmounting of a listener.

@dimaportenko
Copy link
Contributor Author

At least 1 approving review is required by reviewers with write access.

@BennEntterprise can you approve it?

@BennEntterprise
Copy link

@dimaportenko I do no have write access.

I found this issue in my own work but would have agreed that this is the proper way to solve it.

@satya164
Copy link
Owner

/rebase

Copy link
Owner

@satya164 satya164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR

@satya164 satya164 merged commit 4b30aed into satya164:main Jul 29, 2021
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.

SceneView - Warning: Can't perform a React state update on an unmounted component.
3 participants