diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index f13e454c..6c4207c2 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -109,9 +109,7 @@ export const ActiveCall: FC = (props) => { useEffect(() => { return () => { - if (connState === ConnectionState.Connected) { - livekitRoom?.disconnect(); - } + livekitRoom?.disconnect(); }; // eslint-disable-next-line react-hooks/exhaustive-deps }, []);