void IDisposable.Dispose() { textToSpeech?.Stop(); textToSpeech?.Dispose(); textToSpeech = null; initialized = false; }
void IDisposable.Dispose() { if (textToSpeech != null) { textToSpeech.Stop(); textToSpeech.Dispose(); textToSpeech = null; } }
void IDisposable.Dispose() { textToSpeech?.Stop(); textToSpeech?.Dispose(); textToSpeech = null; }