Timothy J. Baek há 6 meses atrás
pai
commit
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 = [];