From aa8b3fef448ced608fa164c1837ae5a02313c8d6 Mon Sep 17 00:00:00 2001 From: Cong Liu Date: Mon, 18 Sep 2017 15:20:10 +0800 Subject: [PATCH] fixed crash if closed from client fixed #6 --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f3916f5..9eebd84 100644 --- a/index.js +++ b/index.js @@ -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(); } /**