diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-12-12 23:21:19 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-01-15 00:01:00 +0000 |
commit | c37851de5752f107c16e19317f28038b6b7ca2dc (patch) | |
tree | 9630a18acef413ea7fed27268037db1a84ead1f5 /src/init.cpp | |
parent | e7b88ecbc920321290941bc68e4a71634889c3cb (diff) |
rpc: Make unloadwallet wait for complete wallet unload
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 8ecd79197f..4653f9c982 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -262,10 +262,10 @@ void Shutdown(InitInterfaces& interfaces) LogPrintf("%s: Unable to remove pidfile: %s\n", __func__, e.what()); } #endif + interfaces.chain_clients.clear(); UnregisterAllValidationInterfaces(); GetMainSignals().UnregisterBackgroundSignalScheduler(); GetMainSignals().UnregisterWithMempoolSignals(mempool); - interfaces.chain_clients.clear(); globalVerifyHandle.reset(); ECC_Stop(); LogPrintf("%s: done\n", __func__); |