mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
removed a bug introduced with non blocking VM
This commit is contained in:
parent
f11b864714
commit
b3e3d0d78e
2
redis.c
2
redis.c
@ -1649,7 +1649,6 @@ static void freeClient(redisClient *c) {
|
||||
aeDeleteFileEvent(server.el,c->fd,AE_READABLE);
|
||||
aeDeleteFileEvent(server.el,c->fd,AE_WRITABLE);
|
||||
listRelease(c->reply);
|
||||
listRelease(c->io_keys);
|
||||
freeClientArgv(c);
|
||||
close(c->fd);
|
||||
/* Remove from the list of clients */
|
||||
@ -1662,6 +1661,7 @@ static void freeClient(redisClient *c) {
|
||||
if (ln) listDelNode(server.io_clients,ln);
|
||||
listRelease(c->io_keys);
|
||||
}
|
||||
listRelease(c->io_keys);
|
||||
/* Other cleanup */
|
||||
if (c->flags & REDIS_SLAVE) {
|
||||
if (c->replstate == REDIS_REPL_SEND_BULK && c->repldbfd != -1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user