Skip to content

fix(bridge): close rpc on disconnect#129

Merged
V3RON merged 1 commit into
mainfrom
feat/detect-close
May 27, 2026
Merged

fix(bridge): close rpc on disconnect#129
V3RON merged 1 commit into
mainfrom
feat/detect-close

Conversation

@V3RON

@V3RON V3RON commented May 27, 2026

Copy link
Copy Markdown
Contributor

Description

Close the bridge RPC channel when the app WebSocket closes so in-flight RPC calls fail immediately instead of waiting for a timeout.

Related Issue

None.

Context

The bridge already observes app socket disconnects, but pending birpc calls were left alive until timeout. Closing the RPC channel on disconnect gives higher layers a faster and more accurate signal that the app session is gone, which is especially useful when the app crashes or drops the bridge unexpectedly.

@vercel

vercel Bot commented May 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-harness Ready Ready Preview, Comment May 27, 2026 11:37am

Request Review

@V3RON
V3RON merged commit ced42ed into main May 27, 2026
5 of 6 checks passed
@V3RON
V3RON deleted the feat/detect-close branch May 27, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant