From 3d623a86d17d4f9884b766fc8e07fc1799ae0a9f Mon Sep 17 00:00:00 2001 From: stoffu Date: Tue, 12 Jun 2018 15:29:33 +0900 Subject: wallet: prevent the same wallet file from being opened by multiple processes --- src/wallet/api/wallet.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/api/wallet.cpp') diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index c7dbd29e4..e2c4fe7af 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -721,6 +721,7 @@ bool WalletImpl::close(bool store) LOG_PRINT_L1("Calling wallet::stop..."); m_wallet->stop(); LOG_PRINT_L1("wallet::stop done"); + m_wallet->deinit(); result = true; clearStatus(); } catch (const std::exception &e) { -- cgit v1.2.3