()
| 1397 | }; |
| 1398 | |
| 1399 | const closeBoth = (): Promise<void> => { |
| 1400 | if (!closePromise) { |
| 1401 | closing = true; |
| 1402 | closePromise = Promise.allSettled([stdio.close(), http.close()]).then(() => undefined); |
| 1403 | } |
| 1404 | return closePromise; |
| 1405 | }; |
| 1406 | |
| 1407 | function shutdown() { |
| 1408 | finish(); |
no test coverage detected