| 550 | |
| 551 | |
| 552 | class _RequestContextManager(_BaseRequestContextManager): |
| 553 | if PY_35: |
| 554 | @asyncio.coroutine |
| 555 | def __aexit__(self, exc_type, exc, tb): |
| 556 | if exc_type is not None: |
| 557 | self._resp.close() |
| 558 | else: |
| 559 | yield from self._resp.release() |
| 560 | |
| 561 | |
| 562 | class _WSRequestContextManager(_BaseRequestContextManager): |