Remove pending async writes if we're freeing the client
Former-commit-id: 8b5caad51136f1ed29a9e4c01ed984f6e7ff9c4c
This commit is contained in:
parent
87ca381ea2
commit
30d85b35e2
@ -1269,6 +1269,7 @@ void unlinkClient(client *c) {
|
|||||||
listDelNode(g_pserver->rgthreadvar[iel].clients_pending_asyncwrite,ln);
|
listDelNode(g_pserver->rgthreadvar[iel].clients_pending_asyncwrite,ln);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fFound = g_pserver->asyncworkqueue->removeClientAsyncWrites(c) || fFound;
|
||||||
serverAssert(fFound);
|
serverAssert(fFound);
|
||||||
c->fPendingAsyncWrite = FALSE;
|
c->fPendingAsyncWrite = FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user