Files
t3code/apps/mobile/modules
Theo BrowneandClaude Fable 5 95f6b12918 fix(mobile): invalidate the iOS websocket URLSession on teardown
URLSession retains its delegate until invalidated, so cancelAll() left the
connections object and its session alive on every module destroy/recreate
cycle. Teardown now invalidates and clears the session; the next open()
builds a fresh one.

Verified on the simulator: environment connects, holds a single socket for
60s, and reconnects cleanly after a full app teardown and relaunch.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-28 18:12:33 -07:00
..