mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-09 07:05:34 +01:00
[wallet] Add CloseWallets() function to wallet/init.cpp
This commit is contained in:
@@ -265,10 +265,7 @@ void Shutdown()
|
||||
UnregisterAllValidationInterfaces();
|
||||
GetMainSignals().UnregisterBackgroundSignalScheduler();
|
||||
#ifdef ENABLE_WALLET
|
||||
for (CWalletRef pwallet : vpwallets) {
|
||||
delete pwallet;
|
||||
}
|
||||
vpwallets.clear();
|
||||
CloseWallets();
|
||||
#endif
|
||||
globalVerifyHandle.reset();
|
||||
ECC_Stop();
|
||||
|
||||
Reference in New Issue
Block a user