diff options
| author | Dusan Klinec <dusan.klinec@gmail.com> | 2019-03-26 12:29:08 +0100 |
|---|---|---|
| committer | Dusan Klinec <dusan.klinec@gmail.com> | 2019-04-05 22:17:50 +0200 |
| commit | 827f52add07a562185b8b5445b252132481cb6b0 (patch) | |
| tree | 070c7b704d6572b89d767d1c386557cb25aebd16 /src/wallet/api/wallet.cpp | |
| parent | fe3403c8f01e1b8207b4cb8f085c809c7a8e1a1d (diff) | |
| download | monzero-core-827f52add07a562185b8b5445b252132481cb6b0.tar.gz monzero-core-827f52add07a562185b8b5445b252132481cb6b0.tar.xz monzero-core-827f52add07a562185b8b5445b252132481cb6b0.zip | |
wallet: API changes to enable passphrase entry
Diffstat (limited to 'src/wallet/api/wallet.cpp')
| -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 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"); } |
