()
| 438 | // Set connections timeout |
| 439 | |
| 440 | const destroy = () => { |
| 441 | |
| 442 | for (const connection of this.sockets) { |
| 443 | connection.destroy(); |
| 444 | } |
| 445 | |
| 446 | this.sockets.clear(); |
| 447 | }; |
| 448 | |
| 449 | timeoutId = setTimeout(destroy, timeout); |
| 450 |
no outgoing calls
no test coverage detected