Skip to content

Commit 7a9e560

Browse files
committed
RU-T47 PR#225 fix
1 parent ac7f3e4 commit 7a9e560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stores/app/livekit-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ export const useLiveKitStore = create<LiveKitState>((set, get) => ({
427427

428428
// Disconnect from current room if connected
429429
if (currentRoom) {
430-
currentRoom.disconnect();
430+
await currentRoom.disconnect();
431431
}
432432

433433
// Start the native audio session before connecting (required for production builds)

0 commit comments

Comments
 (0)