Skip to content

Commit e2b7e41

Browse files
authored
child_process: remove unused internal event
Tests pass without this event being emitted. Remove it. PR-URL: nodejs#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>
1 parent 1fd170a commit e2b7e41

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/child_process.js

-1
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,6 @@ class Control extends EventEmitter {
557557
unrefCounted() {
558558
if (--this.#refs === 0 && !this.#refExplicitlySet) {
559559
this.#channel.unref();
560-
this.emit('unref');
561560
}
562561
}
563562

0 commit comments

Comments
 (0)