From fb01c53f98e5b3918825d95cae0eb6a4c32cfab5 Mon Sep 17 00:00:00 2001 From: Timo K Date: Fri, 12 Sep 2025 12:08:47 +0200 Subject: [PATCH] review Signed-off-by: Timo K --- src/room/InCallView.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index 176183e6..f7ea6597 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -362,11 +362,11 @@ export const InCallView: FC = ({ if (callPickupState === "decline") { void pickupPhaseAudio ?.playSound("decline") - .then(() => { - onLeave(); - }) .catch((e) => { logger.error("Failed to play decline sound", e); + }) + .finally(() => { + onLeave(); }); } });