commit b973d31a67cba662b54d8ad9d49605dcd642844a
parent 65a8521d35d8e23f9bd9e95e09b30ec26d0ed166
Author: ThomasV <electrumdev@gmail.com>
Date: Sun, 15 Feb 2015 13:29:27 +0100
Merge pull request #1029 from m0mchil/transport_close
close Trezor USB transport on wallet close
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/plugins/trezor.py b/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):