cluster: move handle tracking out of utils
internal/cluster/utils.js
exported a handles
object, which was used in a test. That test, test-cluster-disconnect-handles.js
, was removed in https://github.com/nodejs/node/pull/12495. This commit moves the handles object to the only file in the codebase that still uses it.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines