server/lib/client-manager.js
function add(client) {
  // Auto-remove clients on close
  client.once('closed', function() {
    remove(client);
  });

  clients = clients || [];
  clients.push(client);
  initClient(client);
}
function add(client) {
  // Auto-remove clients on close
  client.once('closed', function() {
    remove(client);
  });

  clients = clients || [];
  clients.push(client);
  initClient(client);
}
function add ( client ) { // Auto-remove clients on close client . once ( 'closed' , function ( ) { remove ( client ) ; } ) ; clients = clients || [ ] ; clients . push ( client ) ; initClient ( client ) ; }
Add a client to the list, and manage its life-cycle.
Add a client to the list and manage its life - cycle .