1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +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:
Bryce Baril
2013-05-05 10:43:17 -07:00
parent 807aaf91b7
commit 515e975539

View File

@@ -874,7 +874,7 @@ RedisClient.prototype.end = function () {
this.connected = false;
this.ready = false;
this.closing = true;
return this.stream.end();
return this.stream.destroySoon();
};
function Multi(client, args) {