mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Make nServices atomic
This commit is contained in:
parent
96f42d8a12
commit
0f31872615
1 changed files with 1 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ class CNode
|
|||
friend class CConnman;
|
||||
public:
|
||||
// socket
|
||||
ServiceFlags nServices;
|
||||
std::atomic<ServiceFlags> nServices;
|
||||
ServiceFlags nServicesExpected;
|
||||
SOCKET hSocket;
|
||||
size_t nSendSize; // total size of all vSendMsg entries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue