Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove workers from object

  • Loading branch information...
commit a842690f9d69d2814803ce2f9e38017735523a56 1 parent da6dba9
@tj authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/public/javascripts/main.js
View
1  lib/public/javascripts/main.js
@@ -60,6 +60,7 @@ window.onload = function(){
var worker = getWorker(_worker);
utils.notify('worker #' + worker.id + ' removed');
worker.remove();
+ delete workers[worker.id];
});
cluster.on('worker spawned', function(_worker){
Please sign in to comment.
Something went wrong with that request. Please try again.