Skip to content

Commit

Permalink
Merge branch 'ouotuo-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
brycebaril committed Jul 11, 2014
2 parents 2e099a0 + c6ff907 commit 499e97a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.js
Expand Up @@ -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;
Expand Down

0 comments on commit 499e97a

Please sign in to comment.