diff options
author | mj-xmr <mjxmr@protonmail.com> | 2021-08-16 11:45:39 +0200 |
---|---|---|
committer | mj-xmr <mjxmr@protonmail.com> | 2021-09-08 14:44:35 +0200 |
commit | ad9fde46a32587aaeee15a2142a74b3d85a3f636 (patch) | |
tree | f44566e8bfc3b1049c9ec915f3a58eb65d746beb /src/device_trezor/device_trezor.cpp | |
parent | Merge pull request #7893 (diff) | |
download | monero-ad9fde46a32587aaeee15a2142a74b3d85a3f636.tar.xz |
UB: virtual methods in destructor at Trezor
Diffstat (limited to 'src/device_trezor/device_trezor.cpp')
-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 c2070b0d1..be65e0c36 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()); } |