()
| 1418 | }; |
| 1419 | |
| 1420 | const closeBoth = (): Promise<void> => { |
| 1421 | if (!closePromise) { |
| 1422 | closing = true; |
| 1423 | closePromise = Promise.allSettled([stdio.close(), http.close()]).then(() => undefined); |
| 1424 | } |
| 1425 | return closePromise; |
| 1426 | }; |
| 1427 | |
| 1428 | function shutdown() { |
| 1429 | finish(); |
no test coverage detected