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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
{
|
||||
// Delete disconnected nodes
|
||||
list<CNode*> vNodesDisconnectedCopy = vNodesDisconnected;
|
||||
BOOST_FOREACH(CNode* pnode, vNodesDisconnectedCopy)
|
||||
|
|
Loading…
Reference in a new issue