aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-02-06 19:27:13 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2018-02-06 20:10:09 +0100
commitb1c2370dde9ade180c638e5d9a4797f085322b5b (patch)
tree02ebdb4ac8d4e0903692da747acb4e4b94801b92 /src/addrman.cpp
parent1462bde767a121233118c04c5629bd9de1ba0f16 (diff)
downloadbitcoin-b1c2370dde9ade180c638e5d9a4797f085322b5b.tar.xz
http: Join worker threads before deleting work queue
This prevents a potential race condition if control flow ends up in `ShutdownHTTPServer` before the thread gets to `queue->Run()`, deleting the work queue while workers are still going to use it. Meant to fix #12362. Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
Diffstat (limited to 'src/addrman.cpp')
0 files changed, 0 insertions, 0 deletions