提交 d53b3a44 编写于 作者: M Minghao Li

call syncCleanUp taosMemoryFree(pSyncEnv)

上级 64dfc1da
......@@ -273,6 +273,9 @@ static void vmCleanup(SMgmtWrapper *pWrapper) {
// walCleanUp();
taosMemoryFree(pMgmt);
pWrapper->pMgmt = NULL;
syncCleanUp();
dInfo("vnode-mgmt is cleaned up");
}
......
......@@ -92,6 +92,7 @@ static SSyncEnv *doSyncEnvStart() {
static int32_t doSyncEnvStop(SSyncEnv *pSyncEnv) {
taosTmrCleanUp(pSyncEnv->pTimerManager);
taosMemoryFree(pSyncEnv);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册