defer free
Former-commit-id: de4217489c87cd8347ecdb7f4df5c3b7615330d6
This commit is contained in:
parent
af06ffa43a
commit
26c97eafe2
@ -1173,12 +1173,7 @@ void disconnectSlaves(void) {
|
||||
listRewind(server.slaves, &li);
|
||||
while ((ln = listNext(&li))) {
|
||||
client *c = (client*)listNodeValue(ln);
|
||||
if (FCorrectThread(c)) {
|
||||
freeClient(c);
|
||||
}
|
||||
else {
|
||||
freeClientAsync(c);
|
||||
}
|
||||
freeClientAsync(c);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user