aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorDusan Klinec <dusan.klinec@gmail.com>2019-03-26 12:29:08 +0100
committerDusan Klinec <dusan.klinec@gmail.com>2019-04-05 22:17:50 +0200
commit827f52add07a562185b8b5445b252132481cb6b0 (patch)
tree070c7b704d6572b89d767d1c386557cb25aebd16 /src/wallet/api/wallet.cpp
parentMerge pull request #5390 (diff)
downloadmonero-827f52add07a562185b8b5445b252132481cb6b0.tar.xz
wallet: API changes to enable passphrase entry
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 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");
}