Exit out of TLSManager::waitFor() loop if shutdown requested
This commit is contained in:
@@ -2927,6 +2927,7 @@ void SetNetworkActive(bool active)
|
||||
if (!fNetworkActive) {
|
||||
LOCK(cs_vNodes);
|
||||
// Close sockets to all nodes
|
||||
LogPrint("net", "%s: closing sockets to all nodes\n", __func__);
|
||||
for (CNode* pnode : vNodes) {
|
||||
pnode->CloseSocketDisconnect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user