From d70e6491ae2c52c424369deb586276cd5857c66e Mon Sep 17 00:00:00 2001 From: Brian White Date: Thu, 15 Aug 2013 17:56:25 -0400 Subject: [PATCH] cluster: variable is not global --- lib/cluster.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cluster.js b/lib/cluster.js index 50a94f1..72060c4 100644 --- a/lib/cluster.js +++ b/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); }); -- 2.7.4