diff --git a/aiohttp/connector.py b/aiohttp/connector.py index f0e7ae86b13..93bc2513b20 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -702,10 +702,7 @@ def _release( self._release_acquired(key, protocol) - if self._force_close: - should_close = True - - if should_close or protocol.should_close: + if self._force_close or should_close or protocol.should_close: transport = protocol.transport protocol.close()