mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-19 05:45:05 +01:00
Run node deletions outside of cs_vNodes
This commit is contained in:
parent
6055b9101b
commit
49d754d915
@ -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 New Issue
Block a user