Add check to verify that the speech recognition service is still active before...
Add check to verify that the speech recognition service is still active before sending data down the pipe This CL contains a speculative fix that addresses a crash when calling AudioReceivedAfterBubbleClosed after the caption bubble is closed. I haven't been able to repro this crash and thus have not been able to verify this fix; however, the recognition client shouldn't send data to the speech recognition recognizer if the speech recognition service is destroyed anyways so this fix is of very low risk. Bug: 1161756 Change-Id: Ied868dfa17966650f79ceb954a6ac694f59e33d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2605295Reviewed-by:Chrome Cunningham <chcunningham@chromium.org> Commit-Queue: Evan Liu <evliu@google.com> Cr-Commit-Position: refs/heads/master@{#839606}
Showing
Please register or sign in to comment