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