(self, reason: str = None)
| 113 | self._timeout_settings = TimeoutSettings(None) |
| 114 | |
| 115 | async def dispose(self, reason: str = None) -> None: |
| 116 | self._close_reason = reason |
| 117 | await self._tracing._export_all_hars() |
| 118 | try: |
| 119 | await self._channel.send("dispose", None, {"reason": reason}) |
| 120 | except Error as e: |
| 121 | if is_target_closed_error(e): |
| 122 | return |
| 123 | raise e |
| 124 | self._tracing._reset_stack_counter() |
| 125 | |
| 126 | @property |
| 127 | def tracing(self) -> Tracing: |
nothing calls this directly
no test coverage detected