handle quit error
This commit is contained in:
parent
70c9d9847f
commit
a191e9993a
|
@ -1311,11 +1311,9 @@ static void cliBatchSendCb(uv_write_t* req, int status) {
|
||||||
STrans* pInst = pThrd->pInst;
|
STrans* pInst = pThrd->pInst;
|
||||||
|
|
||||||
while (!QUEUE_IS_EMPTY(&wrapper->node)) {
|
while (!QUEUE_IS_EMPTY(&wrapper->node)) {
|
||||||
queue* h = QUEUE_HEAD(&wrapper->node);
|
queue* h = QUEUE_HEAD(&wrapper->node);
|
||||||
QUEUE_REMOVE(h);
|
|
||||||
|
|
||||||
SCliReq* pReq = QUEUE_DATA(h, SCliReq, sendQ);
|
SCliReq* pReq = QUEUE_DATA(h, SCliReq, sendQ);
|
||||||
pReq->inSendQ = 0;
|
removeReqFromSendQ(pReq);
|
||||||
}
|
}
|
||||||
freeWReqToWQ(&conn->wq, wrapper);
|
freeWReqToWQ(&conn->wq, wrapper);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue