mirror of
https://github.com/wownero/wownero.git
synced 2026-10-24 02:48:34 +02:00
wallet_rpc_server: call deinit on exit
This commit is contained in:
@@ -151,6 +151,7 @@ namespace tools
|
|||||||
if (m_wallet)
|
if (m_wallet)
|
||||||
{
|
{
|
||||||
m_wallet->store();
|
m_wallet->store();
|
||||||
|
m_wallet->deinit();
|
||||||
delete m_wallet;
|
delete m_wallet;
|
||||||
m_wallet = NULL;
|
m_wallet = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user