Merge remote-tracking branch 'origin/develop' into feature/linux
This commit is contained in:
commit
45f9177ec5
|
@ -64,7 +64,7 @@ void tscReleaseRpc(void *param) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pthread_mutex_lock(&rpcObjMutex);
|
pthread_mutex_lock(&rpcObjMutex);
|
||||||
taosCacheRelease(tscRpcCache, (void *)¶m, false);
|
taosCacheRelease(tscRpcCache, (void *)¶m, true);
|
||||||
pthread_mutex_unlock(&rpcObjMutex);
|
pthread_mutex_unlock(&rpcObjMutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -215,7 +215,6 @@ void taos_cleanup(void) {
|
||||||
taosCloseRef(id);
|
taosCloseRef(id);
|
||||||
|
|
||||||
taosCleanupKeywordsTable();
|
taosCleanupKeywordsTable();
|
||||||
taosCloseLog();
|
|
||||||
|
|
||||||
p = tscRpcCache;
|
p = tscRpcCache;
|
||||||
tscRpcCache = NULL;
|
tscRpcCache = NULL;
|
||||||
|
@ -225,7 +224,10 @@ void taos_cleanup(void) {
|
||||||
pthread_mutex_destroy(&rpcObjMutex);
|
pthread_mutex_destroy(&rpcObjMutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tscEmbedded == 0) rpcCleanup();
|
if (tscEmbedded == 0) {
|
||||||
|
rpcCleanup();
|
||||||
|
taosCloseLog();
|
||||||
|
};
|
||||||
|
|
||||||
p = tscTmr;
|
p = tscTmr;
|
||||||
tscTmr = NULL;
|
tscTmr = NULL;
|
||||||
|
|
|
@ -364,10 +364,11 @@ void *taosInitTcpClient(uint32_t ip, uint16_t port, char *label, int numOfThread
|
||||||
}
|
}
|
||||||
|
|
||||||
void taosStopTcpClient(void *chandle) {
|
void taosStopTcpClient(void *chandle) {
|
||||||
SThreadObj *pThreadObj = chandle;
|
SClientObj *pClientObj = chandle;
|
||||||
if (pThreadObj == NULL) return;
|
|
||||||
|
|
||||||
tDebug ("%s TCP client is stopped", pThreadObj->label);
|
if (pClientObj == NULL) return;
|
||||||
|
|
||||||
|
tDebug ("%s TCP client is stopped", pClientObj->label);
|
||||||
}
|
}
|
||||||
|
|
||||||
void taosCleanUpTcpClient(void *chandle) {
|
void taosCleanUpTcpClient(void *chandle) {
|
||||||
|
|
Loading…
Reference in New Issue