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(); }); } });