mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Calling UnregisterAllWallets() instead of UnregisterWallet(pwalletMain) in init.cpp
This commit is contained in:
@@ -119,7 +119,7 @@ void Shutdown()
|
||||
}
|
||||
bitdb.Flush(true);
|
||||
boost::filesystem::remove(GetPidFile());
|
||||
UnregisterWallet(pwalletMain);
|
||||
UnregisterAllWallets();
|
||||
delete pwalletMain;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user