Timothy J. Baek 11 tháng trước cách đây
mục cha
commit
18ae5860bc
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/lib/components/chat/MessageInput/CallOverlay.svelte

+ 4 - 0
src/lib/components/chat/MessageInput/CallOverlay.svelte

@@ -533,6 +533,10 @@
 			eventTarget.removeEventListener('chat', chatEventHandler);
 			eventTarget.removeEventListener('chat:finish', chatFinishHandler);
 
+			audioAbortController.abort();
+			await tick();
+			await stopAllAudio();
+
 			await stopRecordingCallback(false);
 			await stopCamera();
 		};