enh(tsc): handle schedule error

This commit is contained in:
yihaoDeng 2022-09-13 18:32:22 +08:00
parent b82f27ec03
commit 990416d20d
1 changed files with 2 additions and 0 deletions

View File

@ -374,10 +374,12 @@ void cliHandleResp(SCliConn* conn) {
if (pCtx == NULL && CONN_NO_PERSIST_BY_APP(conn)) {
tDebug("%s except, conn %p read while cli ignore it", CONN_GET_INST_LABEL(conn), conn);
transFreeCont(transMsg.pCont);
return;
}
if (CONN_RELEASE_BY_SERVER(conn) && transMsg.info.ahandle == NULL) {
tDebug("%s except, conn %p read while cli ignore it", CONN_GET_INST_LABEL(conn), conn);
transFreeCont(transMsg.pCont);
return;
}