* Clean up connections gracefully
()
| 392 | * Clean up connections gracefully |
| 393 | */ |
| 394 | close(): void { |
| 395 | if (this.keepAliveTimer) { |
| 396 | clearInterval(this.keepAliveTimer) |
| 397 | this.keepAliveTimer = null |
| 398 | } |
| 399 | this.transport.close() |
| 400 | this.inputStream.end() |
| 401 | } |
| 402 | } |
no test coverage detected