TextToSpeech onUtteranceCompleted bug
<p>When I use a series of textToSpeech
and use  OnUtteranceCompletedListener()
I'm beginning to disappear memory.
If you do not use OnUtteranceCompletedListener()
then everything is fine</p>

<p>why?
<code></p>

<pre>final Runnable finish = new Runnable() 
{
public void run() 
   {
        Intent intent = new Intent();
        intent.setClass(main.this, main.class);
        startActivity(intent);
   }
};


public void SAY_TTS()
{     
    final HashMap&lt;String, String&gt; ttsParams = new HashMap&lt;String, String&gt;(); 
     ttsParams.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, "done"); 
      tts = new TextToSpeech(this, new OnInitListener() {
            public void onInit(int status) 
            {

                if (status == TextToSpeech.SUCCESS)   
                {  
                tts.setLanguage(Locale.ENGLISH);
                tts.setOnUtteranceCompletedListener(new OnUtteranceCompletedListener() {
                public void onUtteranceCompleted(String uttID) 
                {
                    tts.stop();
                    tts.shutdown();
                    handler_finish.post(finish);
                }   
                });
                tts.speak("this is a test", TextToSpeech.QUEUE_ADD, ttsParams);                 

                }
            }
     });      
} 
</code></pre>

<p></p>
