(self)
| 199 | ) # type: ignore[func-returns-value] |
| 200 | |
| 201 | async def close(self) -> None: |
| 202 | self.gc_safe_close() |
| 203 | await self._rtt_monitor.close() |
| 204 | # Increment the generation and maybe close the socket. If the executor |
| 205 | # thread has the socket checked out, it will be closed when checked in. |
| 206 | await self._reset_connection() |
| 207 | |
| 208 | async def _reset_connection(self) -> None: |
| 209 | # Clear our pooled connection. |
no test coverage detected