Skip to content

Commit

Permalink
Don't wait for stream_writer to close
Browse files Browse the repository at this point in the history
  • Loading branch information
florimondmanca committed Dec 14, 2019
1 parent 4bb69e3 commit 8aebf2e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions httpx/concurrency/asyncio.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import asyncio
import functools
import ssl
import sys
import typing

from ..config import Timeout
Expand Down Expand Up @@ -163,8 +162,6 @@ def is_connection_dropped(self) -> bool:

async def close(self) -> None:
self.stream_writer.close()
if sys.version_info >= (3, 7):
await self.stream_writer.wait_closed()


class PoolSemaphore(BasePoolSemaphore):
Expand Down

0 comments on commit 8aebf2e

Please sign in to comment.