diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-02-06 19:27:13 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-02-06 20:10:09 +0100 |
| commit | b1c2370dde9ade180c638e5d9a4797f085322b5b (patch) | |
| tree | 02ebdb4ac8d4e0903692da747acb4e4b94801b92 /src/script/script.cpp | |
| parent | Merge #12050: [trivial] Implements a virtual destructor on the BaseRequestHan... (diff) | |
| download | discoin-b1c2370dde9ade180c638e5d9a4797f085322b5b.tar.xz discoin-b1c2370dde9ade180c638e5d9a4797f085322b5b.zip | |
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 <[email protected]>
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions