Browse Source

Merge pull request #1029 from m0mchil/transport_close

close Trezor USB transport on wallet close
283
ThomasV 10 years ago
parent
commit
b973d31a67
  1. 1
      plugins/trezor.py

1
plugins/trezor.py

@ -96,6 +96,7 @@ class Plugin(BasePlugin):
print_error("trezor: clear session")
if self.wallet and self.wallet.client:
self.wallet.client.clear_session()
self.wallet.client.transport.close()
@hook
def load_wallet(self, wallet):

Loading…
Cancel
Save