(handlers: ServerHandlers)
| 320 | withCorsHeaders(req, new Response(null, { status: 204 }), allowedHosts); |
| 321 | |
| 322 | const closeProvidedHandlers = async (handlers: ServerHandlers): Promise<void> => { |
| 323 | await handlers.mcp.close(); |
| 324 | await handlers.api.dispose(); |
| 325 | }; |
| 326 | |
| 327 | const ignoreCleanupFailure = async (cleanup: () => Promise<unknown>): Promise<void> => { |
| 328 | // oxlint-disable-next-line executor/no-promise-catch -- boundary: startup cleanup is best-effort and must not mask the original startup failure |
no test coverage detected