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

Just ignore events on unmounted components #4903

Merged
merged 2 commits into from
Sep 22, 2015

Conversation

sophiebits
Copy link
Contributor

Fixes #4865 and also seems to fixes #3790.

@sophiebits
Copy link
Contributor Author

cc @sebmarkbage

(A few people have hit this internally too.)

@sebmarkbage
Copy link
Collaborator

Are we sure this fixes it? How can we have so many events firing that aren't needed?

@sophiebits
Copy link
Contributor Author

I mean, this certainly fixes the error firing because it deletes the code that hits the error. I think most people with layers that close themselves were hitting this.

sophiebits added a commit that referenced this pull request Sep 22, 2015
Just ignore events on unmounted components
@sophiebits sophiebits merged commit c561324 into facebook:master Sep 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants