aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2018-02-06 13:32:53 -0500
committerMatt Corallo <[email protected]>2018-02-06 15:13:59 -0500
commit1c9394ad477d0c1ca0ab1caa6024a7e70c125d15 (patch)
treea5a75ace2bc0447d1b85b03ab4ea9ca8e61f0d33 /src/httpserver.cpp
parentMerge #12050: [trivial] Implements a virtual destructor on the BaseRequestHan... (diff)
downloaddiscoin-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