|
|
@ -1103,8 +1103,13 @@ void CConnman::ThreadSocketHandler() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if(vNodes.size() != nPrevNodeCount) { |
|
|
|
size_t vNodesSize; |
|
|
|
nPrevNodeCount = vNodes.size(); |
|
|
|
{ |
|
|
|
|
|
|
|
LOCK(cs_vNodes); |
|
|
|
|
|
|
|
vNodesSize = vNodes.size(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(vNodesSize != nPrevNodeCount) { |
|
|
|
|
|
|
|
nPrevNodeCount = vNodesSize; |
|
|
|
if(clientInterface) |
|
|
|
if(clientInterface) |
|
|
|
clientInterface->NotifyNumConnectionsChanged(nPrevNodeCount); |
|
|
|
clientInterface->NotifyNumConnectionsChanged(nPrevNodeCount); |
|
|
|
} |
|
|
|
} |
|
|
|