Remove superfluous nextTick during server binding

This breaks fork().send({}, server._handle) after server.listen() because
server._handle is not set.
This commit is contained in:
Ryan Dahl 2011-10-18 15:12:16 -07:00
parent dbfc8198a6
commit 6cc0c9e6a9

View File

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