()
| 1426 | }; |
| 1427 | |
| 1428 | const closeBoth = (): Promise<void> => { |
| 1429 | if (!closePromise) { |
| 1430 | closing = true; |
| 1431 | closePromise = Promise.allSettled([stdio.close(), http.close()]).then(() => undefined); |
| 1432 | } |
| 1433 | return closePromise; |
| 1434 | }; |
| 1435 | |
| 1436 | function shutdown() { |
| 1437 | finish(); |
no test coverage detected