Commit 6da82b10 authored by Rich Trott's avatar Rich Trott
Browse files

worker: remove undocumented .onclose property

Remove setting of a 'close' event handler on MessagePort through the use
of an `.onclose` property. We don't use this convention anywhere else in
our codebase for 'close' events, this feature is undocumented, and we
don't test it.

PR-URL: https://github.com/nodejs/node/pull/25904


Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: default avatarYuta Hiroto <hello@hiroppy.me>
Reviewed-By: default avatarUjjwal Sharma <usharma1998@gmail.com>
parent 106dd1e3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment