releaseRef

This commit is contained in:
Jeff Tao 2020-10-29 09:14:42 +00:00
parent f7ad45fe32
commit 98a7e88c45
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,7 @@ void syncCleanUp() {
}
taosCloseRef(tsSyncRefId);
tsSyncRefId = -1;
sInfo("sync module is cleaned up");
}
@ -1205,6 +1206,8 @@ static void syncMonitorFwdInfos(void *param, void *tmrId) {
pNode->pFwdTimer = taosTmrStart(syncMonitorFwdInfos, 300, pNode, syncTmrCtrl);
}
taosReleaseRef(tsSyncRefId, pNode);
}
static int32_t syncForwardToPeerImpl(SSyncNode *pNode, void *data, void *mhandle, int qtype) {