fNetworkActive is not protected by a lock, use an atomic
This commit is contained in:
parent
ab914a6530
commit
079142b757
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ private:
|
|||
unsigned int nReceiveFloodSize;
|
||||
|
||||
std::vector<ListenSocket> vhListenSocket;
|
||||
bool fNetworkActive;
|
||||
std::atomic<bool> fNetworkActive;
|
||||
banmap_t setBanned;
|
||||
CCriticalSection cs_setBanned;
|
||||
bool setBannedIsDirty;
|
||||
|
|
Loading…
Reference in a new issue