You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2024. It is now read-only.
On Android, if you cancel the CancellationToken provided to SpeakAsync after Initialize but the speech actually starts (~0.5s window on my slow test device), SpeakAsync will correctly not speak, but will never return
Steps to Reproduce
varcts=new CancellationTokenSource();varcancelTask= Task.Run(()=>{// Have to wait long enough for Initialize to complete, but not long enough for it to start speaking Thread.Sleep(100); cts2.Cancel();});try{// Hangs hereawait TextToSpeech.SpeakAsync(Text, options, cts2.Token);}catch(Exceptionex){
Console.WriteLine(ex.ToString());}
Console.WriteLine("Never gets here");
Expected Behavior
It shouldn't hang
Actual Behavior
It hangs
Basic Information
Version with issue: Reproed with latest from main
Last known good version:
IDE: VS 2019 16.10.3
Platform Target Frameworks:
Android: 30
The text was updated successfully, but these errors were encountered:
Description
On Android, if you cancel the CancellationToken provided to SpeakAsync after Initialize but the speech actually starts (~0.5s window on my slow test device), SpeakAsync will correctly not speak, but will never return
Steps to Reproduce
Expected Behavior
It shouldn't hang
Actual Behavior
It hangs
Basic Information
The text was updated successfully, but these errors were encountered: