add config
This commit is contained in:
parent
d4e24280e3
commit
10de831153
|
@ -1230,6 +1230,11 @@ static void cliHandleException(SCliConn* conn) {
|
||||||
conn->task = NULL;
|
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) {
|
if (conn->registered) {
|
||||||
int8_t ref = transGetRefCount(conn);
|
int8_t ref = transGetRefCount(conn);
|
||||||
if (ref == 0 && !uv_is_closing((uv_handle_t*)conn->stream)) {
|
if (ref == 0 && !uv_is_closing((uv_handle_t*)conn->stream)) {
|
||||||
|
|
Loading…
Reference in New Issue