From ee960e99df8daac7f94e209a0518dfac5a892d60 Mon Sep 17 00:00:00 2001 From: Timo K Date: Mon, 30 Oct 2023 12:18:02 +0100 Subject: [PATCH] add await Signed-off-by: Timo K --- src/room/GroupCallView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); };