diff --git a/source/libs/transport/src/transSrv.c b/source/libs/transport/src/transSrv.c index b4052aea46f95c67f1cfb688d822a9ecf1bdb5ca..787c538f2a3f8d3689ed4de7c1165f60cba7009e 100644 --- a/source/libs/transport/src/transSrv.c +++ b/source/libs/transport/src/transSrv.c @@ -838,6 +838,9 @@ void transSendResponse(const STransMsg* pMsg) { } SSrvConn* pConn = pMsg->handle; SWorkThrdObj* pThrd = pConn->hostThrd; + if (pThrd->quit) { + return; + } SSrvMsg* srvMsg = calloc(1, sizeof(SSrvMsg)); srvMsg->pConn = pConn;