wallet_rpc_server: call deinit on exit

This commit is contained in:
moneromooo-monero 2019-05-26 16:51:18 +00:00
parent 85014813cf
commit 83ca76435b
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ namespace tools
if (m_wallet)
{
m_wallet->store();
m_wallet->deinit();
delete m_wallet;
m_wallet = NULL;
}