You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
varassert=require('assert');varcluster=require('cluster');if(cluster.isMaster){cluster.fork();thrownewError('kill master');// should kill the worker too}else{setTimeout(function(){assert(false,'worker should have been killed');},2500);}
The workers array is empty in the uncaughtException listener that startMaster() installs so the listener doesn't actually kill anything.
The text was updated successfully, but these errors were encountered:
To reproduce:
The workers array is empty in the uncaughtException listener that startMaster() installs so the listener doesn't actually kill anything.
The text was updated successfully, but these errors were encountered: