mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 08:21:27 +00:00
close Trezor USB transport on wallet close
This commit is contained in:
parent
3ae3faf96b
commit
beaa932c97
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ class Plugin(BasePlugin):
|
||||||
print_error("trezor: clear session")
|
print_error("trezor: clear session")
|
||||||
if self.wallet and self.wallet.client:
|
if self.wallet and self.wallet.client:
|
||||||
self.wallet.client.clear_session()
|
self.wallet.client.clear_session()
|
||||||
|
self.wallet.client.transport.close()
|
||||||
|
|
||||||
@hook
|
@hook
|
||||||
def load_wallet(self, wallet):
|
def load_wallet(self, wallet):
|
||||||
|
|
Loading…
Add table
Reference in a new issue