Skip to content

Commit

Permalink
fixed crash if closed from client
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostoy committed Sep 18, 2017
1 parent 7c9bc0a commit aa8b3fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ Adapter.prototype.connect = function(cb) {
}

Adapter.prototype.end = function(cb) {
this.pubClient.end();
this.subClient.end();
this.redisPubClient.end();
this.redisSubClient.end();
}

/**
Expand Down

0 comments on commit aa8b3fe

Please # to comment.