diff options
author | stoffu <stoffu@protonmail.ch> | 2018-06-12 15:29:33 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-06-28 09:41:43 +0900 |
commit | 3d623a86d17d4f9884b766fc8e07fc1799ae0a9f (patch) | |
tree | d0f93c9ddf6b3ca40c29eaba37e1f1a722bd6304 /src/wallet/api | |
parent | util: add file_locker class (diff) | |
download | monero-3d623a86d17d4f9884b766fc8e07fc1799ae0a9f.tar.xz |
wallet: prevent the same wallet file from being opened by multiple processes
Diffstat (limited to 'src/wallet/api')
-rw-r--r-- | src/wallet/api/wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |