Esempio n. 1
0
 void IDisposable.Dispose()
 {
     textToSpeech?.Stop();
     textToSpeech?.Dispose();
     textToSpeech = null;
     initialized  = false;
 }
Esempio n. 2
0
 void IDisposable.Dispose()
 {
     if (textToSpeech != null)
     {
         textToSpeech.Stop();
         textToSpeech.Dispose();
         textToSpeech = null;
     }
 }
Esempio n. 3
0
 void IDisposable.Dispose()
 {
     textToSpeech?.Stop();
     textToSpeech?.Dispose();
     textToSpeech = null;
 }