Timothy J. Baek 6 ヶ月 前
コミット
330ad0131c

+ 5 - 0
src/lib/components/chat/MessageInput/VoiceRecording.svelte

@@ -250,6 +250,11 @@
 		if (recording && mediaRecorder) {
 			await mediaRecorder.stop();
 		}
+
+		if (speechRecognition) {
+			speechRecognition.stop();
+		}
+
 		stopDurationCounter();
 		audioChunks = [];