diff options
author | Matt Corallo <git@bluematt.me> | 2018-02-06 13:32:53 -0500 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2018-02-06 15:13:59 -0500 |
commit | 1c9394ad477d0c1ca0ab1caa6024a7e70c125d15 (patch) | |
tree | a5a75ace2bc0447d1b85b03ab4ea9ca8e61f0d33 /src/validation.cpp | |
parent | 1462bde767a121233118c04c5629bd9de1ba0f16 (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