mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
client: add missing close method
close() is implemented in some of the mixins to dispose of any resources.
This commit is contained in:
parent
c805284a86
commit
3d3c2a29d0
@ -189,6 +189,9 @@ class BaseClient(object):
|
||||
self.transport = self.connect()
|
||||
return self.transport
|
||||
|
||||
def close(self):
|
||||
pass
|
||||
|
||||
def cancel(self):
|
||||
self.get_transport().write(proto.Cancel())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user