()
| 1363 | }; |
| 1364 | |
| 1365 | const closeBoth = (): Promise<void> => { |
| 1366 | if (!closePromise) { |
| 1367 | closing = true; |
| 1368 | closePromise = Promise.allSettled([stdio.close(), http.close()]).then(() => undefined); |
| 1369 | } |
| 1370 | return closePromise; |
| 1371 | }; |
| 1372 | |
| 1373 | function shutdown() { |
| 1374 | finish(); |
no test coverage detected