diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-10-21 22:57:42 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-10-21 22:57:42 -0500 |
commit | 8b3b106ad1bc32b81a3ef74e789844d9f671f709 (patch) | |
tree | 9d0dc24fe2011d99b99f30aad0b6500d60541acf /src/wallet/api/wallet.cpp | |
parent | Merge pull request #6852 (diff) | |
parent | wallet2_api: implement stop() to interrupt refresh() loop once (diff) | |
download | monero-8b3b106ad1bc32b81a3ef74e789844d9f671f709.tar.xz |
Merge pull request #6902
70eb0d1 wallet2_api: implement stop() to interrupt refresh() loop once (xiphon)
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 152a7dcd7..9acc8484c 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -910,6 +910,11 @@ std::string WalletImpl::path() const return m_wallet->path(); } +void WalletImpl::stop() +{ + m_wallet->stop(); +} + bool WalletImpl::store(const std::string &path) { clearStatus(); |