You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: ensure onClose triggers on unexpected disconnections
Added channelInactive handler to MessageHandler to catch connection drops
that don't send a proper WebSocket close frame. This ensures the onClose
callback fires in all disconnect scenarios:
- Network failures
- Server crashes
- Connection timeouts
- Any scenario where the channel becomes inactive
All close events are propagated to the onClose callback, ensuring the
Realtime service's reconnection logic triggers correctly.
0 commit comments