diff options
| author | João Barbosa <[email protected]> | 2019-01-29 01:08:30 +0000 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2019-02-03 22:23:44 +0000 |
| commit | 0dd6a8c12489ea4428b398a2328dde5d1a9fe39b (patch) | |
| tree | f73cae4bb143a18ab0ac1854328a47ade2a62a42 /src/interfaces/node.cpp | |
| parent | gui: Fix m_node.startShutdown() order (diff) | |
| download | discoin-0dd6a8c12489ea4428b398a2328dde5d1a9fe39b.tar.xz discoin-0dd6a8c12489ea4428b398a2328dde5d1a9fe39b.zip | |
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/interfaces/node.cpp')
0 files changed, 0 insertions, 0 deletions