handle quit error
This commit is contained in:
parent
52f9ea5963
commit
9f9b22e436
|
@ -905,6 +905,10 @@ static void addConnToPool(void* pool, SCliConn* conn) {
|
|||
}
|
||||
|
||||
SCliThrd* thrd = conn->hostThrd;
|
||||
if (thrd->quit == false) {
|
||||
return;
|
||||
}
|
||||
|
||||
cliResetConnTimer(conn);
|
||||
if (conn->list == NULL && conn->dstAddr != NULL) {
|
||||
conn->list = taosHashGet((SHashObj*)pool, conn->dstAddr, strlen(conn->dstAddr));
|
||||
|
|
Loading…
Reference in New Issue