diff --git a/src/pages/views/commcoach/CommcoachDossierView.tsx b/src/pages/views/commcoach/CommcoachDossierView.tsx index 1827b55..d1362bd 100644 --- a/src/pages/views/commcoach/CommcoachDossierView.tsx +++ b/src/pages/views/commcoach/CommcoachDossierView.tsx @@ -171,8 +171,14 @@ export const CommcoachDossierView: React.FC = () => { if (!SpeechRecognitionApi) return; if (speechRecognitionRef.current) { - try { speechRecognitionRef.current.start(); } catch { /* already running */ } - return; + try { + speechRecognitionRef.current.start(); + _dlog('REC-RESTART', 'reused existing'); + } catch { + _dlog('REC-RESTART', 'existing failed, recreating'); + speechRecognitionRef.current = null; + } + if (speechRecognitionRef.current) return; } let cancelled = false;