close Trezor USB transport on wallet close

This commit is contained in:
m0mchil 2015-02-14 22:42:50 +02:00
parent 3ae3faf96b
commit beaa932c97
1 changed files with 1 additions and 0 deletions

View File

@ -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):