From 827f52add07a562185b8b5445b252132481cb6b0 Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Tue, 26 Mar 2019 12:29:08 +0100 Subject: wallet: API changes to enable passphrase entry --- 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 c1303c225..2a972cf78 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -449,6 +449,11 @@ WalletImpl::~WalletImpl() close(false); // do not store wallet as part of the closing activities // Stop refresh thread stopRefresh(); + + if (m_wallet2Callback->getListener()) { + m_wallet2Callback->getListener()->onSetWallet(nullptr); + } + LOG_PRINT_L1(__FUNCTION__ << " finished"); } -- cgit v1.2.3