diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-10-17 23:28:04 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-10-17 23:28:04 -0500 |
commit | ebc655c6ad594f0853f6a0f955ec46200efe7865 (patch) | |
tree | a1426c42da2133ac91d29a4d41f0c64156284d29 | |
parent | Merge pull request #7867 (diff) | |
parent | UB: virtual methods in destructor at Trezor (diff) | |
download | monero-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.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 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()); } |