From 9a0b784deaab6b9fffcab227d928987b981d0572 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Mon, 6 Feb 2017 14:05:45 -0500 Subject: net: add a lock around hSocket --- src/net.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net.h') diff --git a/src/net.h b/src/net.h index 38f8d82ceb..e5a19e0f43 100644 --- a/src/net.h +++ b/src/net.h @@ -572,6 +572,7 @@ public: uint64_t nSendBytes; std::deque> vSendMsg; CCriticalSection cs_vSend; + CCriticalSection cs_hSocket; CCriticalSection cs_vProcessMsg; std::list vProcessMsg; -- cgit v1.2.3