src/workers/child.js
function bindExit() {
  if (exitBound)
    return;

  exitBound = true;

  listenExit(() => {
    for (const child of children)
      child.destroy();
  });
}
function bindExit() {
  if (exitBound)
    return;

  exitBound = true;

  listenExit(() => {
    for (const child of children)
      child.destroy();
  });
}
function bindExit ( ) { if ( exitBound ) return ; exitBound = true ; listenExit ( ( ) => { for ( const child of children ) child . destroy ( ) ; } ) ; }
Cleanup all child processes.
@private
Cleanup all child processes .