aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-10-17 23:28:04 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-10-17 23:28:04 -0500
commitebc655c6ad594f0853f6a0f955ec46200efe7865 (patch)
treea1426c42da2133ac91d29a4d41f0c64156284d29
parentMerge pull request #7867 (diff)
parentUB: virtual methods in destructor at Trezor (diff)
downloadmonero-ebc655c6ad594f0853f6a0f955ec46200efe7865.tar.xz
Merge pull request #7869
ad9fde4 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 03e8bbba4..0545f3f26 100644
--- a/src/device_trezor/device_trezor.cpp
+++ b/src/device_trezor/device_trezor.cpp
@@ -66,8 +66,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());
}