From 56589ddab8bdb5460cad1adea9d225419d76ecb2 Mon Sep 17 00:00:00 2001 From: mj-xmr Date: Mon, 16 Aug 2021 13:01:00 +0200 Subject: UB: virtual methods in destructor at Trezor --- src/device_trezor/device_trezor.cpp | 4 ++-- 1 file 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()); } -- cgit v1.2.3