mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00: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:
@@ -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