aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-09-14 13:12:44 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-09-14 13:12:44 -0500
commite753663d31a6fa674142d985fdb9a1d81ec98d45 (patch)
tree76723b661aee78977333350b61b3ec4d0e2a17e4
parentMerge pull request #5869 (diff)
parentwallet_rpc_server: call deinit on exit (diff)
downloadmonero-e753663d31a6fa674142d985fdb9a1d81ec98d45.tar.xz
Merge pull request #5870
83ca764 wallet_rpc_server: call deinit on exit (moneromooo-monero)
-rw-r--r--src/wallet/wallet_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index 896f8f48e..b3ea8557f 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -151,6 +151,7 @@ namespace tools
if (m_wallet)
{
m_wallet->store();
+ m_wallet->deinit();
delete m_wallet;
m_wallet = NULL;
}