Skip to content

Commit

Permalink
child_process: remove unused internal event
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trott authored Aug 1, 2024
1 parent 1fd170a commit e2b7e41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/internal/child_process.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,6 @@ class Control extends EventEmitter {
unrefCounted() {
if (--this.#refs === 0 && !this.#refExplicitlySet) {
this.#channel.unref();
this.emit('unref');
}
}

Expand Down

0 comments on commit e2b7e41

Please sign in to comment.