Browse Source

Remove superfluous nextTick during server binding

This breaks fork().send({}, server._handle) after server.listen() because
server._handle is not set.
v0.7.4-release
Ryan Dahl 13 years ago
parent
commit
6cc0c9e6a9
  1. 2
      lib/net.js

2
lib/net.js

@ -692,9 +692,7 @@ function listen(self, address, port, addressType) {
self._listen2(address, port, addressType);
});
} else {
process.nextTick(function() {
self._listen2(address, port, addressType);
});
}
}

Loading…
Cancel
Save