mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #7869
ad9fde4
UB: virtual methods in destructor at Trezor (mj-xmr)
This commit is contained in:
commit
ebc655c6ad
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ namespace trezor {
|
||||||
|
|
||||||
device_trezor::~device_trezor() {
|
device_trezor::~device_trezor() {
|
||||||
try {
|
try {
|
||||||
disconnect();
|
device_trezor::disconnect();
|
||||||
release();
|
device_trezor::release();
|
||||||
} catch(std::exception const& e){
|
} catch(std::exception const& e){
|
||||||
MWARNING("Could not disconnect and release: " << e.what());
|
MWARNING("Could not disconnect and release: " << e.what());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue