diff --git a/zmq/asyncio.py b/zmq/asyncio.py index 22bbd14d4..a4f73ca5c 100644 --- a/zmq/asyncio.py +++ b/zmq/asyncio.py @@ -158,7 +158,7 @@ def _clear_io_state(self): """ loop = self._current_loop if loop and not loop.is_closed() and self._fd != -1: - self._get_selector(loop).remove_reader(self._fd) + self._get_selector(loop).remove_reader(self._fd) Poller._socket_class = Socket