Skip to content

Commit 2327536

Browse files
Trottpull[bot]
authored andcommitted
child_process: remove unused internal event
Tests pass without this event being emitted. Remove it. PR-URL: #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 e3be430 commit 2327536

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)