Skip to content

child_process: tracking unrefdness of child_process

Affected core subsystem

child_process

Description of change

  • initializing _unref to false when child process is created
  • updating that value each time either unref() or ref() is invoked
  • this mirrors the implementation in lib/net.js
  • adding test to check unrefdness tracking

R= @Fishrock123 R= @trevnorris

Merge request reports

Loading