handle quit error

This commit is contained in:
yihaoDeng 2024-10-30 16:30:46 +08:00
parent 70c9d9847f
commit a191e9993a
1 changed files with 2 additions and 4 deletions

View File

@ -1312,10 +1312,8 @@ static void cliBatchSendCb(uv_write_t* req, int status) {
while (!QUEUE_IS_EMPTY(&wrapper->node)) {
queue* h = QUEUE_HEAD(&wrapper->node);
QUEUE_REMOVE(h);
SCliReq* pReq = QUEUE_DATA(h, SCliReq, sendQ);
pReq->inSendQ = 0;
removeReqFromSendQ(pReq);
}
freeWReqToWQ(&conn->wq, wrapper);