mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
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:
1 parent
1fd170a7fc
commit
e2b7e41e23
1 file changed
-1
@@ -557,7 +557,6 @@ class Control extends EventEmitter {
|
||||
unrefCounted() {
|
||||
if (--this.#refs === 0 && !this.#refExplicitlySet) {
|
||||
this.#channel.unref();
|
||||
this.emit('unref');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user