Unverified Commit 97dad7e3 authored by cjihrig's avatar cjihrig
Browse files

cluster: use Map to track callbacks

Use a Map to avoid delete operations in callback tracking.

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


Reviewed-By: default avatarGus Caplan <me@gus.host>
Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarTrivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: default avatarDenys Otrishko <shishugi@gmail.com>
parent 70ab3108
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