diff options
| author | Matt Corallo <[email protected]> | 2018-02-06 13:32:53 -0500 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2018-02-06 15:13:59 -0500 |
| commit | 1c9394ad477d0c1ca0ab1caa6024a7e70c125d15 (patch) | |
| tree | a5a75ace2bc0447d1b85b03ab4ea9ca8e61f0d33 /src/httpserver.cpp | |
| parent | Merge #12050: [trivial] Implements a virtual destructor on the BaseRequestHan... (diff) | |
| download | discoin-1c9394ad477d0c1ca0ab1caa6024a7e70c125d15.tar.xz discoin-1c9394ad477d0c1ca0ab1caa6024a7e70c125d15.zip | |
Fix fast-shutdown hang on ThreadImport+GenesisWait
If the user somehow manages to get into ShutdownRequested before
ThreadImport gets to ActivateBestChain() we may hang waiting on
condvar_GenesisWait forever. A simple wait_for and
ShutdownRequested resolves this case.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions