Skip to content

Commit 9c9324e

Browse files
committed
Merge pull request #46 from LiveMinutes/fix-close
Fix close internal socket by removing parameters
2 parents eb55965 + 58af5aa commit 9c9324e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ BinaryClient.prototype.createStream = function(meta){
244244
return binaryStream;
245245
};
246246

247-
BinaryClient.prototype.close = BinaryClient.prototype.destroy = function(code, message) {
248-
this._socket.close(code, message);
247+
BinaryClient.prototype.close = BinaryClient.prototype.destroy = function() {
248+
this._socket.close();
249249
};
250250

251251
exports.BinaryClient = BinaryClient;

0 commit comments

Comments
 (0)