fix: taos clean up
This commit is contained in:
parent
737140a09b
commit
a53390415d
|
@ -57,10 +57,6 @@ void taos_cleanup(void) {
|
||||||
|
|
||||||
tscStopCrashReport();
|
tscStopCrashReport();
|
||||||
|
|
||||||
int32_t id = clientReqRefPool;
|
|
||||||
clientReqRefPool = -1;
|
|
||||||
taosCloseRef(id);
|
|
||||||
|
|
||||||
hbMgrCleanUp();
|
hbMgrCleanUp();
|
||||||
|
|
||||||
catalogDestroy();
|
catalogDestroy();
|
||||||
|
@ -70,6 +66,12 @@ void taos_cleanup(void) {
|
||||||
qCleanupKeywordsTable();
|
qCleanupKeywordsTable();
|
||||||
nodesDestroyAllocatorSet();
|
nodesDestroyAllocatorSet();
|
||||||
|
|
||||||
|
cleanupTaskQueue();
|
||||||
|
|
||||||
|
int32_t id = clientReqRefPool;
|
||||||
|
clientReqRefPool = -1;
|
||||||
|
taosCloseRef(id);
|
||||||
|
|
||||||
id = clientConnRefPool;
|
id = clientConnRefPool;
|
||||||
clientConnRefPool = -1;
|
clientConnRefPool = -1;
|
||||||
taosCloseRef(id);
|
taosCloseRef(id);
|
||||||
|
@ -77,8 +79,6 @@ void taos_cleanup(void) {
|
||||||
rpcCleanup();
|
rpcCleanup();
|
||||||
tscDebug("rpc cleanup");
|
tscDebug("rpc cleanup");
|
||||||
|
|
||||||
cleanupTaskQueue();
|
|
||||||
|
|
||||||
taosConvDestroy();
|
taosConvDestroy();
|
||||||
|
|
||||||
tscInfo("all local resources released");
|
tscInfo("all local resources released");
|
||||||
|
|
Loading…
Reference in New Issue