Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix close internal socket by removing parameters

  • Loading branch information...
commit 58af5aa53d3d574bdb4c0930d44fa022381ea285 1 parent eb55965
@arnaudbreton arnaudbreton authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.