From beaa932c97f0d822264da024b08f90614f4a4ffd Mon Sep 17 00:00:00 2001 From: m0mchil Date: Sat, 14 Feb 2015 22:42:50 +0200 Subject: [PATCH] close Trezor USB transport on wallet close --- plugins/trezor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/trezor.py b/plugins/trezor.py index 94fe892ca..2b08d0293 100644 --- 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):