diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-10-17 23:28:38 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-10-17 23:28:38 -0500 |
commit | 0ad56647d332c4fa5257380c2ba38620c1a16a6a (patch) | |
tree | b9b3b827e6dc5c14080a5a0fb64846cad5f3a17f | |
parent | Merge pull request #7868 (diff) | |
parent | UB: virtual methods in destructor at Trezor (diff) | |
download | monero-0ad56647d332c4fa5257380c2ba38620c1a16a6a.tar.xz |
Merge pull request #7870
56589dd UB: virtual methods in destructor at Trezor (mj-xmr)
-rw-r--r-- | src/device_trezor/device_trezor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device_trezor/device_trezor.cpp b/src/device_trezor/device_trezor.cpp index 7c3e8785d..08f0dbb64 100644 --- a/src/device_trezor/device_trezor.cpp +++ b/src/device_trezor/device_trezor.cpp @@ -64,8 +64,8 @@ namespace trezor { device_trezor::~device_trezor() { try { - disconnect(); - release(); + device_trezor::disconnect(); + device_trezor::release(); } catch(std::exception const& e){ MWARNING("Could not disconnect and release: " << e.what()); } |