mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 07:31:35 +02:00
Merge pull request #7869
ad9fde4 UB: virtual methods in destructor at Trezor (mj-xmr)
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user