Run node deletions outside of cs_vNodes
This commit is contained in:
parent
6055b9101b
commit
49d754d915
1 changed files with 2 additions and 1 deletions
|
@ -801,7 +801,8 @@ void ThreadSocketHandler()
|
||||||
vNodesDisconnected.push_back(pnode);
|
vNodesDisconnected.push_back(pnode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
// Delete disconnected nodes
|
// Delete disconnected nodes
|
||||||
list<CNode*> vNodesDisconnectedCopy = vNodesDisconnected;
|
list<CNode*> vNodesDisconnectedCopy = vNodesDisconnected;
|
||||||
BOOST_FOREACH(CNode* pnode, vNodesDisconnectedCopy)
|
BOOST_FOREACH(CNode* pnode, vNodesDisconnectedCopy)
|
||||||
|
|
Loading…
Reference in a new issue