You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Merge pull request #303 from mowaken/master
fixed RedisClient.prototype.end()
This commit is contained in:
1
index.js
1
index.js
@@ -826,6 +826,7 @@ RedisClient.prototype.end = function () {
|
|||||||
this.stream._events = {};
|
this.stream._events = {};
|
||||||
this.connected = false;
|
this.connected = false;
|
||||||
this.ready = false;
|
this.ready = false;
|
||||||
|
this.closing = true;
|
||||||
return this.stream.end();
|
return this.stream.end();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user