From 515e975539d26902df94b04b69bed39a4be92633 Mon Sep 17 00:00:00 2001 From: Bryce Baril Date: Sun, 5 May 2013 10:43:17 -0700 Subject: [PATCH] Switching RedisClient.prototype.end to call .destroySoon() vs .end() on the stream to have compatible behavior between 0.8 and 0.10. Fixes #419 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ae6d753d9f..9d0e7dd70c 100644 --- a/index.js +++ b/index.js @@ -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) {