Skip to content

Commit

Permalink
Set 'path' on master UNIX server on listen.
Browse files Browse the repository at this point in the history
  • Loading branch information
pgriess committed Jun 9, 2010
1 parent 89563a4 commit 3aea6c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/webworker.js
Expand Up @@ -78,6 +78,8 @@ var WorkerMaster = function(path) {
netBinding.bind(fd, path);
netBinding.listen(fd, 128);

// Set the server's path so that it can attempt cleanup on close.
srv.path = path;
srv.listenFD(fd, 'unix');
};

Expand Down

0 comments on commit 3aea6c5

Please sign in to comment.