mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
Fix for issue where exit session intermittently does not return to splash (#5291)
This commit is contained in:
@@ -136,7 +136,7 @@ export function WsClientProvider({
|
||||
// create a new one
|
||||
if (
|
||||
!sio ||
|
||||
(tokenRef.current && token !== tokenRef.current) ||
|
||||
(tokenRef.current && token && token !== tokenRef.current) ||
|
||||
ghToken !== ghTokenRef.current
|
||||
) {
|
||||
sio?.disconnect();
|
||||
|
||||
Reference in New Issue
Block a user