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