This commit is contained in:
yihaoDeng 2023-02-03 12:12:58 +08:00
parent cdf362b588
commit 9f62cfd6f3
1 changed files with 1 additions and 0 deletions

View File

@ -1346,6 +1346,7 @@ static SCliThrd* createThrdObj(void* trans) {
}
pThrd->asyncPool = transAsyncPoolCreate(pThrd->loop, 8, pThrd, cliAsyncCb);
if (pThrd->asyncPool == NULL) {
tError("failed to init async pool");
uv_loop_close(pThrd->loop);
taosMemoryFree(pThrd->loop);
taosThreadMutexDestroy(&pThrd->msgMtx);