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

Added clearTimeout for the setCalendarMonthGridHeight timeout #1468

Merged
merged 2 commits into from Feb 27, 2019

Conversation

sheldonj
Copy link
Contributor

I know that this might seem like a trivial PR, but in our application we are getting " Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method." warnings because we aren't clearing the timeout.

@coveralls
Copy link

coveralls commented Nov 16, 2018

Coverage Status

Coverage decreased (-0.04%) to 85.066% when pulling 28e26e7 on sheldonj:master into 37f8aba on airbnb:master.

@ljharb ljharb changed the title Added clearTimeout for the setCalenderMonthGridHeight timeout. Added clearTimeout for the setCalendarMonthGridHeight timeout Nov 16, 2018
@ljharb ljharb requested a review from majapw November 16, 2018 22:33
@ljharb ljharb added the semver-patch: fixes/refactors/etc Anything that's not major or minor. label Nov 16, 2018
@sheldonj
Copy link
Contributor Author

Hi @majapw is there any extra work you need to get this merged?

@majapw
Copy link
Collaborator

majapw commented Feb 27, 2019

Looks great! Mostly my difficulty in giving this repo the time it needs right now. :)

@majapw majapw merged commit 69a460e into react-dates:master Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch: fixes/refactors/etc Anything that's not major or minor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants