diff options
author | mj-xmr <mjxmr@protonmail.com> | 2021-08-16 13:01:00 +0200 |
---|---|---|
committer | mj-xmr <mjxmr@protonmail.com> | 2021-09-08 16:19:26 +0200 |
commit | 56589ddab8bdb5460cad1adea9d225419d76ecb2 (patch) | |
tree | d97356832cf803c31ef8ab8b8f727ad8aa6c5816 | |
parent | Merge pull request #7902 (diff) | |
download | monero-56589ddab8bdb5460cad1adea9d225419d76ecb2.tar.xz |
UB: virtual methods in destructor at Trezor
-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()); } |