( cleanup: RemoteConnectionState['metro'] | undefined, )
| 453 | } |
| 454 | |
| 455 | export async function stopMetroCleanup( |
| 456 | cleanup: RemoteConnectionState['metro'] | undefined, |
| 457 | ): Promise<void> { |
| 458 | if (!cleanup) return; |
| 459 | try { |
| 460 | await stopMetroTunnel(cleanup); |
| 461 | } catch { |
| 462 | // Connection lifecycle cleanup must stay best-effort. |
| 463 | } |
| 464 | } |
| 465 | |
| 466 | export async function stopReactDevtoolsCleanup(options: { |
| 467 | stateDir: string; |
no test coverage detected