aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2018-02-06 13:32:53 -0500
committerMatt Corallo <git@bluematt.me>2018-02-06 15:13:59 -0500
commit1c9394ad477d0c1ca0ab1caa6024a7e70c125d15 (patch)
treea5a75ace2bc0447d1b85b03ab4ea9ca8e61f0d33 /src/validation.cpp
parent1462bde767a121233118c04c5629bd9de1ba0f16 (diff)
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/validation.cpp')
0 files changed, 0 insertions, 0 deletions