Skip to content

Commit 98c1f86

Browse files
committed
Merge remote branch 'Tim_Smart/client-close'
2 parents a69e60b + b7bb329 commit 98c1f86

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,11 @@ RedisClient.prototype.send_command = function () {
479479
}
480480
};
481481

482+
RedisClient.prototype.end = function () {
483+
this.stream._events = {};
484+
return this.stream.end();
485+
};
486+
482487
// http://code.google.com/p/redis/wiki/CommandReference
483488
exports.commands = [
484489
// Commands operating on all value types

0 commit comments

Comments
 (0)