Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
cluster: fix call to undefined function
  • Loading branch information
bnoordhuis committed Nov 8, 2011
1 parent 69d3bf1 commit 105d178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cluster.js
Expand Up @@ -80,7 +80,7 @@ function startMaster() {
process.on('uncaughtException', function(e) {
// Quickly try to kill all the workers.
// TODO: be session leader - will cause auto SIGHUP to the children.
cluster.eachWorker(function(worker) {
eachWorker(function(worker) {
debug("kill worker " + worker.pid);
worker.kill();
})
Expand Down

0 comments on commit 105d178

Please sign in to comment.