diff --git a/zmq/asyncio.py b/zmq/asyncio.py index 22bbd14d4..5b2a3d5d4 100644 --- a/zmq/asyncio.py +++ b/zmq/asyncio.py @@ -157,7 +157,7 @@ def _clear_io_state(self): called once at close """ loop = self._current_loop - if loop and not loop.is_closed() and self._fd != -1: + if loop and not loop.is_closed(): self._get_selector(loop).remove_reader(self._fd)