aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-10-20 19:06:53 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-10-20 19:06:53 -0700
commit749230d05c6e27cfcacbe913411050094b1b4d23 (patch)
tree5eedb44f1ca728ded316c6441dbfca4c61794ee6 /src/net.cpp
parent34f72ad6efb53b9da44576fcdbf8ce4ffdd7fcb8 (diff)
parent7d38af3c493f9ea24c722ec2e6d3c51f4e851364 (diff)
Merge pull request #2840 from sipa/nosendlock
Allow SendMessages to run partially without cs_main
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index e0fb3eea68..dd7bf283a9 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -801,7 +801,8 @@ void ThreadSocketHandler()
vNodesDisconnected.push_back(pnode);
}
}
-
+ }
+ {
// Delete disconnected nodes
list<CNode*> vNodesDisconnectedCopy = vNodesDisconnected;
BOOST_FOREACH(CNode* pnode, vNodesDisconnectedCopy)