Skip to content
Browse files

Fix close internal socket by removing parameters

  • Loading branch information...
1 parent eb55965 commit 58af5aa53d3d574bdb4c0930d44fa022381ea285 @arnaudbreton arnaudbreton committed Jul 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/client.js
View
4 lib/client.js
@@ -244,8 +244,8 @@ BinaryClient.prototype.createStream = function(meta){
return binaryStream;
};
-BinaryClient.prototype.close = BinaryClient.prototype.destroy = function(code, message) {
- this._socket.close(code, message);
+BinaryClient.prototype.close = BinaryClient.prototype.destroy = function() {
+ this._socket.close();
};
exports.BinaryClient = BinaryClient;

0 comments on commit 58af5aa

Please sign in to comment.
Something went wrong with that request. Please try again.