aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-26 16:51:18 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-08-28 15:59:33 +0000
commit83ca76435b071cfa63217f910759103dd87e81cf (patch)
treec60ae62a4878641469d94c25d603827c220b02ee /src
parentMerge pull request #5707 (diff)
downloadmonero-83ca76435b071cfa63217f910759103dd87e81cf.tar.xz
wallet_rpc_server: call deinit on exit
Diffstat (limited to '')
-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 7c87e7114..4209925b3 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;
}