()
| 422 | } |
| 423 | |
| 424 | destroy() { |
| 425 | if (!this.#isOpen) { |
| 426 | throw new ClientClosedError(); |
| 427 | } |
| 428 | |
| 429 | this.#isOpen = false; |
| 430 | this.destroySocket(); |
| 431 | } |
| 432 | |
| 433 | destroySocket() { |
| 434 | const wasReady = this.#isReady; |
nothing calls this directly
no test coverage detected