mirror of https://github.com/bitcoin/bitcoin
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>pull/12366/head
parent
1462bde767
commit
b1c2370dde
Loading…
Reference in new issue