1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Fix bad reference to 'this'

This commit is contained in:
Felix Geisendörfer
2011-10-19 14:48:01 +02:00
parent 3e95c55a03
commit 61ddce87fa

View File

@@ -59,7 +59,7 @@ function RedisClient(stream, options) {
});
this.stream.on("error", function (msg) {
if (this.closing) {
if (self.closing) {
return;
}