ref log
This commit is contained in:
parent
cdf362b588
commit
9f62cfd6f3
|
@ -1346,6 +1346,7 @@ static SCliThrd* createThrdObj(void* trans) {
|
||||||
}
|
}
|
||||||
pThrd->asyncPool = transAsyncPoolCreate(pThrd->loop, 8, pThrd, cliAsyncCb);
|
pThrd->asyncPool = transAsyncPoolCreate(pThrd->loop, 8, pThrd, cliAsyncCb);
|
||||||
if (pThrd->asyncPool == NULL) {
|
if (pThrd->asyncPool == NULL) {
|
||||||
|
tError("failed to init async pool");
|
||||||
uv_loop_close(pThrd->loop);
|
uv_loop_close(pThrd->loop);
|
||||||
taosMemoryFree(pThrd->loop);
|
taosMemoryFree(pThrd->loop);
|
||||||
taosThreadMutexDestroy(&pThrd->msgMtx);
|
taosThreadMutexDestroy(&pThrd->msgMtx);
|
||||||
|
|
Loading…
Reference in New Issue