()
| 1433 | }; |
| 1434 | |
| 1435 | const closeBoth = (): Promise<void> => { |
| 1436 | if (!closePromise) { |
| 1437 | closing = true; |
| 1438 | closePromise = Promise.allSettled([stdio.close(), http.close()]).then(() => undefined); |
| 1439 | } |
| 1440 | return closePromise; |
| 1441 | }; |
| 1442 | |
| 1443 | function shutdown() { |
| 1444 | finish(); |
no test coverage detected