enh(tsc): handle deadlock

This commit is contained in:
yihaoDeng 2022-09-15 09:53:32 +08:00
parent ab3f6619b9
commit ef18966fa9
1 changed files with 1 additions and 1 deletions

View File

@ -844,7 +844,7 @@ void hbRemoveAppHbMrg(SAppHbMgr **pAppHbMgr) {
if (pItem == *pAppHbMgr) {
hbFreeAppHbMgr(*pAppHbMgr);
*pAppHbMgr = NULL;
taosArraySet(clientHbMgr.appHbMgrs, i, NULL);
taosArraySet(clientHbMgr.appHbMgrs, i, pAppHbMgr);
break;
}
}