diff --git a/src/net.cpp b/src/net.cpp index b22300e8..94ef7e7b 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -559,6 +559,7 @@ void CNode::CloseSocketDisconnect() printf("disconnecting node %s\n", addr.ToString().c_str()); closesocket(hSocket); hSocket = INVALID_SOCKET; + vRecv.clear(); } }