Merge pull request #5870

83ca764 wallet_rpc_server: call deinit on exit (moneromooo-monero)
This commit is contained in:
luigi1111 2019-09-14 13:12:44 -05:00
commit e753663d31
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
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;
}