You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Switching RedisClient.prototype.end to call .destroySoon() vs .end() on the stream to have compatible behavior between 0.8 and 0.10. Fixes #419
This commit is contained in:
2
index.js
2
index.js
@@ -874,7 +874,7 @@ RedisClient.prototype.end = function () {
|
|||||||
this.connected = false;
|
this.connected = false;
|
||||||
this.ready = false;
|
this.ready = false;
|
||||||
this.closing = true;
|
this.closing = true;
|
||||||
return this.stream.end();
|
return this.stream.destroySoon();
|
||||||
};
|
};
|
||||||
|
|
||||||
function Multi(client, args) {
|
function Multi(client, args) {
|
||||||
|
Reference in New Issue
Block a user