aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-10-17 23:28:38 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-10-17 23:28:38 -0500
commit0ad56647d332c4fa5257380c2ba38620c1a16a6a (patch)
treeb9b3b827e6dc5c14080a5a0fb64846cad5f3a17f
parentMerge pull request #7868 (diff)
parentUB: virtual methods in destructor at Trezor (diff)
downloadmonero-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.cpp4
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());
}