add config

This commit is contained in:
yihaoDeng 2024-10-10 08:47:26 +08:00
parent d4e24280e3
commit 10de831153
1 changed files with 5 additions and 0 deletions

View File

@ -1230,6 +1230,11 @@ static void cliHandleException(SCliConn* conn) {
conn->task = NULL;
}
code = delConnFromHeapCache(pThrd->connHeapCache, conn);
if (code != 0) {
tError("%s conn %p failed to del conn from heapcach since %s", CONN_GET_INST_LABEL(conn), conn, tstrerror(code));
}
if (conn->registered) {
int8_t ref = transGetRefCount(conn);
if (ref == 0 && !uv_is_closing((uv_handle_t*)conn->stream)) {