diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 4b2f4cfa..350cd74e 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -244,7 +244,7 @@ export const GroupCallView: FC = ({ const onHangup = async ( ev: CustomEvent, ): Promise => { - leaveRTCSession(rtcSession); + await leaveRTCSession(rtcSession); widget!.api.transport.reply(ev.detail, {}); widget!.api.setAlwaysOnScreen(false); };