Another comment

This commit is contained in:
David Baker
2023-11-15 16:23:06 +00:00
parent be5cd619bb
commit 57ca5d1713

View File

@@ -177,6 +177,8 @@ export function useECConnectionState(
}
}
// Flag that we're currently switching focus. This will get reset when the
// connection state changes back to connected in onConnStateChanged above.
setSwitchingFocus(true);
await livekitRoom?.disconnect();
setIsInDoConnect(true);