From 83ca76435b071cfa63217f910759103dd87e81cf Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 26 May 2019 16:51:18 +0000 Subject: wallet_rpc_server: call deinit on exit --- src/wallet/wallet_rpc_server.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet') 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; } -- cgit v1.2.3