trezor: add ClearSession command when disconnecting

This commit is contained in:
Roman Zeyde
2015-06-24 17:42:45 +03:00
parent 05a8e992af
commit abda41c706

View File

@@ -48,6 +48,7 @@ class Client(object):
def __exit__(self, *args):
log.info('disconnected from Trezor')
self.client.clear_session()
self.client.close()
def get_public_key(self, label):