diff options
Diffstat (limited to 'lib/cluster.js')
-rw-r--r-- | lib/cluster.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cluster.js b/lib/cluster.js index bb4b60a2fc..bcde4ce1fa 100644 --- a/lib/cluster.js +++ b/lib/cluster.js @@ -319,6 +319,8 @@ function masterInit() { process: workerProcess }); + worker.on('message', this.emit.bind(this, 'message')); + function removeWorker(worker) { assert(worker); |