mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
UB: virtual methods in destructor at Trezor
This commit is contained in:
parent
8fde011dbe
commit
ad9fde46a3
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue