Merge pull request #7870

56589dd UB: virtual methods in destructor at Trezor (mj-xmr)
This commit is contained in:
luigi1111 2021-10-17 23:28:38 -05:00
commit 0ad56647d3
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

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