aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-10-17 02:56:15 +0000
committerxiphon <xiphon@protonmail.com>2020-10-18 11:59:23 +0000
commit39e30d54810ae733a65bd3333ea3bbc3f6dcd393 (patch)
tree08cf1fc6ce673788331347efa9068112983d3fe3 /src/wallet/api/wallet.cpp
parentMerge pull request #6894 (diff)
downloadmonero-39e30d54810ae733a65bd3333ea3bbc3f6dcd393.tar.xz
wallet2_api: implement stop() to interrupt refresh() loop once
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp5
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();