diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-01-29 01:08:30 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-02-03 22:23:44 +0000 |
commit | 0dd6a8c12489ea4428b398a2328dde5d1a9fe39b (patch) | |
tree | f73cae4bb143a18ab0ac1854328a47ade2a62a42 /src/banman.h | |
parent | fd6d499bdacfa29f25b0f675375e3feaced08667 (diff) |
Check m_internals in UnregisterValidationInterface
When a wallet is created it is registered in the validation interface (in
CWallet::CreateWalletFromFile) but it is not immediately added to the
wallets list. If a shutdown is requested before AddWallet (case more
evident when -rescan is set) then m_internals can be released (in
Shutdown -> UnregisterBackgroundSignalScheduler) before the wallet and
then ReleaseWallet would call UnregisterValidationInterface with
m_internals already released.
Diffstat (limited to 'src/banman.h')
0 files changed, 0 insertions, 0 deletions