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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
Trott committed 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.