Merge pull request #7869

ad9fde4 UB: virtual methods in destructor at Trezor (mj-xmr)
This commit is contained in:
luigi1111 2021-10-17 23:28:04 -05:00
commit ebc655c6ad
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 2 additions and 2 deletions

View File

@ -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());
}