Skip to content

Commit

Permalink
Remove unused ClusterProcess._initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
mcheshkov committed Jun 20, 2018
1 parent 4365f29 commit ebf0ac3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/cluster_process.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ class ClusterProcess extends EventEmitterEx {
/** @private */
this._remoteCommands = {};
/** @private */
this._initialized = false;
/** @private */
this.extensions = {};
/**
* @type Promise<void>
Expand Down Expand Up @@ -186,7 +184,6 @@ class ClusterProcess extends EventEmitterEx {
let loadTimer;

if (wait === 0) {
this._initialized = true;
this.emit('initialized');
return;
}
Expand All @@ -202,7 +199,6 @@ class ClusterProcess extends EventEmitterEx {

if (loadedExtensions.size === wait) {
clearTimeout(loadTimer);
this._initialized = true;
this.emit('initialized');
}
});
Expand Down

0 comments on commit ebf0ac3

Please sign in to comment.