def close_channel(self, channel):
        try:
            self._avail_channel_ids.append(channel.channel_id)
            try:
                self.channels.remove(channel)
            except __HOLE__:
                pass
        finally:
            channel.connection = None
dataset/ETHPy150Open celery/kombu/kombu/transport/virtual/__init__.py/Transport.close_channel