child_process: remove unused internal event

Tests pass without this event being emitted. Remove it.

PR-URL: https://github.com/nodejs/node/pull/53793
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
Rich Trott authored and GitHub committed 2024-08-01 03:07:10 +00:00
1 parent 1fd170a7fc
commit e2b7e41e23
1 file changed
-1
-1
View File
@@ -557,7 +557,6 @@ class Control extends EventEmitter {
unrefCounted() {
if (--this.#refs === 0 && !this.#refExplicitlySet) {
this.#channel.unref();
this.emit('unref');
}
}