Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #27 from mugami-ast/connect2-fix

Fix for issue #26 - worker: call address() on the callback context - not on the server
  • Loading branch information...
commit f95c2c5c9a57a2149be7075e1ff3a234f4df2c0e 2 parents 4d3ce6f + 44a4bc2
@rauchg rauchg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/worker.js
View
2  lib/worker.js
@@ -22,7 +22,7 @@ for (var i = 0, l = requires.length; i < l; i++) {
server.listen(function () {
process.send({
type: 'addr'
- , addr: server.address()
+ , addr: this.address()
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.