diff options
| author | MarcoFalke <[email protected]> | 2017-11-07 10:35:09 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2017-11-07 10:35:12 -0500 |
| commit | 5aeaa9ccd1568a77e075dbe2bd2435bd60c87c91 (patch) | |
| tree | df07f19af7899b586eca846dc69cab8a7b006b22 /src/httpserver.cpp | |
| parent | Merge #11480: [ui] Add toggle for unblinding password fields (diff) | |
| parent | addrman: Add missing lock in Clear() (CAddrMan) (diff) | |
| download | discoin-5aeaa9ccd1568a77e075dbe2bd2435bd60c87c91.tar.xz discoin-5aeaa9ccd1568a77e075dbe2bd2435bd60c87c91.zip | |
Merge #11585: addrman: Add missing lock in Clear() (CAddrMan)
3ab545d7f addrman: Add missing lock in Clear() (CAddrMan) (practicalswift)
Pull request description:
Add missing lock in `Clear()` (`CAddrMan`).
The variable `vRandom` is guarded by the mutex `cs`.
**Note to reviewers:** Does this look correct? Should the lock cover the entire scope of the method, or should it be limited to cover only `std::vector<int>().swap(vRandom);`?
Tree-SHA512: 8833f31beaed1728fa55b13ddf9e0b8e24e395931497329be2440ce1c5113ff02871707d40830260adabd30c4ea86088f5da5cf8a821150c0d820f50a2ce386a
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions