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

Check if EventEmitter is not null #7346

Merged
merged 1 commit into from
Dec 18, 2018
Merged

Conversation

MiloCasagrande
Copy link
Contributor

  * Fix for Automattic#7342.

Signed-off-by: Milo Casagrande <[email protected]>
@MiloCasagrande
Copy link
Contributor Author

I tried running the tests locally, but I have 40 failing ones: not sure if this change needs a new test though.

The change I did is just mimicking the behaviour for the case where the passed callback is a function.

Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Good find! Looks like there were several related issues, all due to the custom update() function. See #7342 (reference) for the issues, they should all be fixed with 5.4.1 👍

@vkarpov15 vkarpov15 added this to the 5.4.1 milestone Dec 18, 2018
@vkarpov15 vkarpov15 merged commit 7911895 into Automattic:master Dec 18, 2018
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.

2 participants