_cleanupWorker(worker) {
    if (this.workers[worker.id]) {
      const name = this.workers[worker.id].name;
      delete this.workers[worker.id];
      delete this.roomPort[name];
      this.rooms--;
    }
  }
/** Clean up properties when a chatroom process ends
   *
   * @private
   * @param  {object} worker
   */
Clean up properties when a chatroom process ends
@private
@param  {object} worker
Clean up properties when a chatroom process ends @private @param { object } worker
_cleanupWorker(worker) {
    if (this.workers[worker.id]) {
      const name = this.workers[worker.id].name;
      delete this.workers[worker.id];
      delete this.roomPort[name];
      this.rooms--;
    }
  }
_cleanupWorker ( worker ) { if ( this . workers [ worker . id ] ) { const name = this . workers [ worker . id ] . name ; delete this . workers [ worker . id ] ; delete this . roomPort [ name ] ; this . rooms -- ; } }
Clean up properties when a chatroom process ends
 @private
 @param  {object} worker
Clean up properties when a chatroom process ends @private @param { object } worker