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

fix(ext/node): count MessagePort message listeners in hasMessageEventListener #23209

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

satyarohith
Copy link
Member

@satyarohith satyarohith commented Apr 3, 2024

The patch is expected to let the script from #23199 not exit but to write a integration test we need to introduce messagePort.off as the test should exit (is it possible to have a timeout assertion in itest?). I didn't want do that in the same PR. I'm happy to introduce the same if we need a test.

Closes #23199

@satyarohith satyarohith marked this pull request as ready for review April 3, 2024 17:08
@satyarohith satyarohith enabled auto-merge (squash) April 4, 2024 15:03
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM

@satyarohith satyarohith merged commit e01bc09 into main Apr 4, 2024
20 checks passed
@satyarohith satyarohith deleted the fix_worker_idle_check branch April 4, 2024 15:08
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.

ext/node: script exits when it shouldn't
2 participants