()
| 1386 | }; |
| 1387 | |
| 1388 | const closeBoth = (): Promise<void> => { |
| 1389 | if (!closePromise) { |
| 1390 | closing = true; |
| 1391 | closePromise = Promise.allSettled([stdio.close(), http.close()]).then(() => undefined); |
| 1392 | } |
| 1393 | return closePromise; |
| 1394 | }; |
| 1395 | |
| 1396 | function shutdown() { |
| 1397 | finish(); |
no test coverage detected