Commit 9f6354f
committed
Always restart VAD after dictation ends
stopAndPaste had early returns for empty text that skipped the
startWakeListeningIfNeeded call. Use defer to guarantee VAD
restarts regardless of which code path exits the method.
Made-with: Cursor1 parent 005ecdc commit 9f6354f
1 file changed
Lines changed: 5 additions & 2 deletions
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
| |||
210 | 215 | | |
211 | 216 | | |
212 | 217 | | |
213 | | - | |
214 | | - | |
215 | 218 | | |
216 | 219 | | |
217 | 220 | | |
| |||
0 commit comments