handle except

This commit is contained in:
yihaoDeng 2022-03-20 20:52:32 +08:00
parent e8e6dc44cc
commit fa34b6d4b1
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ _RETURN:
void cliHandleExcept(SCliConn* pConn) {
if (taosArrayGetSize(pConn->cliMsgs) == 0) {
if (pConn->broken == true && CONN_NO_PERSIST_BY_APP(pConn)) {
if (pConn->broken == true || CONN_NO_PERSIST_BY_APP(pConn)) {
transUnrefCliHandle(pConn);
return;
}