mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 18:04:21 -05:00
Merge pull request #7870
56589dd
UB: virtual methods in destructor at Trezor (mj-xmr)
This commit is contained in:
commit
0ad56647d3
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user