diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-26 16:51:18 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-08-28 15:59:33 +0000 |
commit | 83ca76435b071cfa63217f910759103dd87e81cf (patch) | |
tree | c60ae62a4878641469d94c25d603827c220b02ee | |
parent | Merge pull request #5707 (diff) | |
download | monero-83ca76435b071cfa63217f910759103dd87e81cf.tar.xz |
wallet_rpc_server: call deinit on exit
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 1 |
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; } |