Claude Code v2.1.221 ·
Chrome bridge takes an injected WebSocket factory and closes cleanly
Fixes the Chrome bridge leaving half-open connections behind when it shuts down.
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
Chrome & BrowserArea: what it touches
Internal ChangesKind: in v2.1.221,
Internal ChangesSection of the release
What
The bridge connector can be handed its socket constructor, and teardown no longer leaves non-open sockets to terminate().
Details
- Uses a caller-supplied
createWebSocket when present, otherwise constructs the ws client itself. - On teardown it detaches listeners and then always calls
close(), rather than terminating sockets that are not in the OPEN state.
Evidence
chrome_bridge_connection_started
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.221 →