aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/node.cpp
diff options
context:
space:
mode:
authorJoão Barbosa <[email protected]>2019-01-29 01:08:30 +0000
committerJoão Barbosa <[email protected]>2019-02-03 22:23:44 +0000
commit0dd6a8c12489ea4428b398a2328dde5d1a9fe39b (patch)
treef73cae4bb143a18ab0ac1854328a47ade2a62a42 /src/interfaces/node.cpp
parentgui: Fix m_node.startShutdown() order (diff)
downloaddiscoin-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