Browse Source

Run node deletions outside of cs_vNodes

0.10
Pieter Wuille 12 years ago
parent
commit
49d754d915
  1. 3
      src/net.cpp

3
src/net.cpp

@ -801,7 +801,8 @@ void ThreadSocketHandler() @@ -801,7 +801,8 @@ void ThreadSocketHandler()
vNodesDisconnected.push_back(pnode);
}
}
}
{
// Delete disconnected nodes
list<CNode*> vNodesDisconnectedCopy = vNodesDisconnected;
BOOST_FOREACH(CNode* pnode, vNodesDisconnectedCopy)

Loading…
Cancel
Save