cluster: disconnect event not emitted correctly
authorOleg Elifantiev <oleg@elifantiev.ru>
Thu, 2 Apr 2015 20:27:27 +0000 (23:27 +0300)
committerBrendan Ashworth <brendan.ashworth@me.com>
Fri, 8 May 2015 19:33:14 +0000 (12:33 -0700)
commit5883a59b21a97e8b7339f435c977155a2c29ba8d
tree7e757dc207aa1c2f96d30eae203275ecd7e99db9
parent931a0d463443c68a10c8028f2ebdd01db20da1f9
cluster: disconnect event not emitted correctly

Inside of a worker, disconnect event was not emitted on cluster.worker

Fixes: https://github.com/iojs/io.js/issues/1304
PR-URL: https://github.com/iojs/io.js/pull/1386
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
lib/cluster.js
test/parallel/test-cluster-worker-disconnect.js