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: #53793 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
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)