1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Merge branch 'master' of https://github.com/ouotuo/node_redis into ouotuo-master

This commit is contained in:
Bryce Baril
2014-07-10 21:12:37 -07:00

View File

@@ -916,6 +916,14 @@ RedisClient.prototype.pub_sub_command = function (command_obj) {
RedisClient.prototype.end = function () {
this.stream._events = {};
//clear retry_timer
if(this.retry_timer){
clearTimeout(this.retry_timer);
this.retry_timer=null;
}
this.stream.on("error", function(){});
this.connected = false;
this.ready = false;
this.closing = true;