From 70eb0d1844258e491f0d22866b8029e66846a482 Mon Sep 17 00:00:00 2001 From: xiphon Date: Sat, 17 Oct 2020 02:56:15 +0000 Subject: wallet2_api: implement stop() to interrupt refresh() loop once --- src/wallet/api/wallet.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/wallet/api/wallet.cpp') 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(); -- cgit v1.2.3