()
| 2298 | // the remote prompt and unsubscribe when the local user |
| 2299 | // responds first. |
| 2300 | const cleanup = () => { |
| 2301 | unsubscribe(); |
| 2302 | bridgeCallbacks.cancelRequest(bridgeRequestId); |
| 2303 | }; |
| 2304 | const existing = sandboxBridgeCleanupRef.current.get(hostPattern.host) ?? []; |
| 2305 | existing.push(cleanup); |
| 2306 | sandboxBridgeCleanupRef.current.set(hostPattern.host, existing); |
no outgoing calls
no test coverage detected