issue #61: add missing close() implementation (reported by LGTM)

This commit is contained in:
David Wilson 2019-01-20 19:35:49 +00:00
parent 767737265a
commit 5bd9efb723
1 changed files with 4 additions and 0 deletions

View File

@ -920,6 +920,10 @@ class Channel(Sender, Receiver):
Sender.__init__(self, context, dst_handle)
Receiver.__init__(self, router, handle)
def close(self):
Receiver.close(self)
Sender.close(self)
def __repr__(self):
return 'Channel(%s, %s)' % (
Sender.__repr__(self),