|
|
|
@ -189,9 +189,7 @@ void Shutdown()
@@ -189,9 +189,7 @@ void Shutdown()
|
|
|
|
|
StopRPC(); |
|
|
|
|
StopHTTPServer(); |
|
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
|
for (CWalletRef pwallet : vpwallets) { |
|
|
|
|
pwallet->Flush(false); |
|
|
|
|
} |
|
|
|
|
FlushWallets(false); |
|
|
|
|
#endif |
|
|
|
|
MapPort(false); |
|
|
|
|
UnregisterValidationInterface(peerLogic.get()); |
|
|
|
@ -246,9 +244,7 @@ void Shutdown()
@@ -246,9 +244,7 @@ void Shutdown()
|
|
|
|
|
pblocktree = nullptr; |
|
|
|
|
} |
|
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
|
for (CWalletRef pwallet : vpwallets) { |
|
|
|
|
pwallet->Flush(true); |
|
|
|
|
} |
|
|
|
|
FlushWallets(true); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if ENABLE_ZMQ |
|
|
|
|