Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
test: remove erroneous dropMembership() call
Browse files Browse the repository at this point in the history
The socket is not part of any multicast group. Bug wasn't visible until 6999fb3.
  • Loading branch information
bnoordhuis committed Jan 23, 2012
1 parent 6999fb3 commit 9037dec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/simple/test-dgram-broadcast-multi-process.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ if (!cluster.isMaster) {
process.send({ message : buf.toString() });

if (receivedMessages.length == messages.length) {
listenSocket.dropMembership(LOCAL_BROADCAST_HOST);
process.nextTick(function() { // TODO should be changed to below.
// listenSocket.dropMembership(LOCAL_BROADCAST_HOST, function() {
process.nextTick(function() {
listenSocket.close();
});
}
Expand Down

0 comments on commit 9037dec

Please sign in to comment.