Browse Source

cluster: variable is not global

v0.11.6-release
Brian White 12 years ago
committed by Trevor Norris
parent
commit
d70e6491ae
  1. 1
      lib/cluster.js

1
lib/cluster.js

@ -264,6 +264,7 @@ function masterInit() {
process.on('internalMessage', function(message) {
if (message.cmd !== 'NODE_DEBUG_ENABLED') return;
var key;
for (key in cluster.workers)
process._debugProcess(cluster.workers[key].process.pid);
});

Loading…
Cancel
Save