Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-07-19 16:28:50 +02:00
commit c42c8c6d05
2 changed files with 4 additions and 4 deletions

View file

@ -60,9 +60,9 @@ public class MediaCommandPlayerImpl extends AbstractPrologCommandPlayer implemen
} }
if (mediaPlayer != null){ if (mediaPlayer != null){
mediaPlayer.stop(); mediaPlayer.stop();
//Test to see if this fixes #1351 //Nullifying here fixes #1351, but may be overkill. Let's see if static status variables in VoiceRouter do the job as well.
mediaPlayer.release(); //mediaPlayer.release();
mediaPlayer = null; //mediaPlayer = null;
} }
if (ctx != null) { if (ctx != null) {
abandonAudioFocus(); abandonAudioFocus();

View file

@ -133,7 +133,7 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer {
ttsRequests = 0; ttsRequests = 0;
if (mTts != null){ if (mTts != null){
mTts.stop(); mTts.stop();
//Test to see if this fixes #2810 //Nullifying here may fix #2810, but should be overkill. Let's see if static status variables in VoiceRouter do the job as well.
//mTts = null; //mTts = null;
} }
if (ctx != null) { if (ctx != null) {