mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 13:32:23 +00:00
- Updated SocketProvider to ensure the socket disconnects only when the app unmounts and no valid token exists, preventing unnecessary disconnections during re-renders. - Enhanced logging for socket connection and disconnection events to provide better insights into socket state management. - Refactored socket connection options in SocketService for improved reliability and security, including explicit handling of token in the handshake. These changes enhance the application's real-time communication capabilities and improve the overall management of socket connections.