call syncCleanUp taosMemoryFree(pSyncEnv)
This commit is contained in:
parent
64dfc1da1c
commit
d53b3a4480
|
@ -273,6 +273,9 @@ static void vmCleanup(SMgmtWrapper *pWrapper) {
|
||||||
// walCleanUp();
|
// walCleanUp();
|
||||||
taosMemoryFree(pMgmt);
|
taosMemoryFree(pMgmt);
|
||||||
pWrapper->pMgmt = NULL;
|
pWrapper->pMgmt = NULL;
|
||||||
|
|
||||||
|
syncCleanUp();
|
||||||
|
|
||||||
dInfo("vnode-mgmt is cleaned up");
|
dInfo("vnode-mgmt is cleaned up");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -92,6 +92,7 @@ static SSyncEnv *doSyncEnvStart() {
|
||||||
|
|
||||||
static int32_t doSyncEnvStop(SSyncEnv *pSyncEnv) {
|
static int32_t doSyncEnvStop(SSyncEnv *pSyncEnv) {
|
||||||
taosTmrCleanUp(pSyncEnv->pTimerManager);
|
taosTmrCleanUp(pSyncEnv->pTimerManager);
|
||||||
|
taosMemoryFree(pSyncEnv);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue