From 9b840439b9be5a7710f8ba1ac47e5daf05e9ea6a Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Tue, 13 Jul 2021 14:42:19 +0200 Subject: [PATCH] fix #7784 - deinit wallet in wallet dtor --- src/wallet/wallet2.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 642777797..8e18b9073 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1215,6 +1215,7 @@ wallet2::wallet2(network_type nettype, uint64_t kdf_rounds, bool unattended, std wallet2::~wallet2() { + deinit(); } bool wallet2::has_testnet_option(const boost::program_options::variables_map& vm) @@ -3692,9 +3693,11 @@ void wallet2::detach_blockchain(uint64_t height, std::map