!188 资源池化下,防止让状态为invalid的节点进行状态检测
Merge pull request !188 from yeguanyu/fix_invalid_check
This commit is contained in:
commit
0e0bd1c6e1
@ -212,7 +212,7 @@ static void ChangeCheckList(uint32 errIndex)
|
||||
}
|
||||
|
||||
for (uint32 i = (newIndex + 1); i < g_isregCheckList.nodeCount; ++i) {
|
||||
if ((i == errIndex) && !g_isregCheckList.nodeCheck[i].isValid) {
|
||||
if ((i == errIndex) || !g_isregCheckList.nodeCheck[i].isValid) {
|
||||
continue;
|
||||
}
|
||||
if (g_isregCheckList.nodeCheck[i].checkCount < g_isregCheckList.nodeCheck[newIndex].checkCount) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user