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

Event API: Fix bug where Press root events were not being cleared #15507

Merged
merged 1 commit into from
Apr 26, 2019

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Apr 26, 2019

This PR fixes a bug that we discovered earlier this week. It was hard to pint-point until the recent invariant was added to detect duplicate root event types being added (when they've already been added). I tracked the issue down to the fact that we don't always clear the root event types in Press. Furthermore, I was able to make a regression test that fails before this fix.

#15257

@necolas necolas mentioned this pull request Apr 26, 2019
@trueadm trueadm merged commit 7a482af into facebook:master Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants