wallet: prevent the same wallet file from being opened by multiple processes

This commit is contained in:
stoffu
2018-06-12 15:29:33 +09:00
parent 59de6f8d99
commit 3d623a86d1
3 changed files with 10 additions and 0 deletions

View File

@@ -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) {