[TD-230] fix memory links
This commit is contained in:
parent
077d995260
commit
cabddb2c1e
|
@ -108,7 +108,6 @@ void mgmtCleanUpShell() {
|
|||
}
|
||||
|
||||
if (tsQhandleCache) {
|
||||
taosCacheEmpty(tsQhandleCache);
|
||||
taosCacheCleanup(tsQhandleCache);
|
||||
tsQhandleCache = NULL;
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ void httpCleanUpSystem() {
|
|||
httpPrint("http service cleanup");
|
||||
httpStopSystem();
|
||||
|
||||
#if 0
|
||||
//#if 0
|
||||
if (httpServer == NULL) {
|
||||
return;
|
||||
}
|
||||
|
@ -132,6 +132,8 @@ void httpCleanUpSystem() {
|
|||
}
|
||||
|
||||
httpCleanUpConnect(httpServer);
|
||||
|
||||
#if 0
|
||||
httpRemoveAllSessions(httpServer);
|
||||
|
||||
if (httpServer->pContextPool != NULL) {
|
||||
|
|
|
@ -304,9 +304,9 @@ static FORCE_INLINE SCacheDataNode *taosAddToCacheImpl(SCacheObj *pCacheObj, con
|
|||
static void doCleanupDataCache(SCacheObj *pCacheObj) {
|
||||
__cache_wr_lock(pCacheObj);
|
||||
|
||||
if (taosHashGetSize(pCacheObj->pHashTable) > 0) {
|
||||
taosHashCleanup(pCacheObj->pHashTable);
|
||||
}
|
||||
//if (taosHashGetSize(pCacheObj->pHashTable) > 0) {
|
||||
taosHashCleanup(pCacheObj->pHashTable);
|
||||
//}
|
||||
|
||||
__cache_unlock(pCacheObj);
|
||||
|
||||
|
|
Loading…
Reference in New Issue