handle quit except
This commit is contained in:
parent
e0524091fb
commit
c563dccbb8
|
@ -838,6 +838,9 @@ void transSendResponse(const STransMsg* pMsg) {
|
||||||
}
|
}
|
||||||
SSrvConn* pConn = pMsg->handle;
|
SSrvConn* pConn = pMsg->handle;
|
||||||
SWorkThrdObj* pThrd = pConn->hostThrd;
|
SWorkThrdObj* pThrd = pConn->hostThrd;
|
||||||
|
if (pThrd->quit) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
SSrvMsg* srvMsg = calloc(1, sizeof(SSrvMsg));
|
SSrvMsg* srvMsg = calloc(1, sizeof(SSrvMsg));
|
||||||
srvMsg->pConn = pConn;
|
srvMsg->pConn = pConn;
|
||||||
|
|
Loading…
Reference in New Issue