def close(self):
        for fd in self._fd_to_chan:
            try:
                self.poller.unregister(fd)
            except __HOLE__:
                pass
        self._channels.clear()
        self._fd_to_chan.clear()
        self.poller = None
dataset/ETHPy150Open celery/kombu/kombu/transport/zmq.py/MultiChannelPoller.close