Skip to content

Commit

Permalink
Fix for issue where exit session intermittently does not return to sp…
Browse files Browse the repository at this point in the history
…lash (#5291)
  • Loading branch information
tofarr authored Nov 27, 2024
1 parent 5d36612 commit c70d160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/context/ws-client-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c70d160

Please sign in to comment.