* Clean up connections gracefully
()
| 248 | * Clean up connections gracefully |
| 249 | */ |
| 250 | close(): void { |
| 251 | if (this.keepAliveTimer) { |
| 252 | clearInterval(this.keepAliveTimer) |
| 253 | this.keepAliveTimer = null |
| 254 | } |
| 255 | this.transport.close() |
| 256 | this.inputStream.end() |
| 257 | } |
| 258 | } |
no test coverage detected