Bug 936784 - Don't overbuffer in the MSG on AudioContext shutdown. r=roc,ehsan

This commit is contained in:
Paul Adenot 2013-12-17 16:15:07 +01:00
Родитель 7293495624
Коммит 9e67190543
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -544,7 +544,10 @@ AudioContext::Shutdown()
{
mIsShutDown = true;
Suspend();
// We mute rather than suspending, because the delay between the ::Shutdown
// call and the CC would make us overbuffer in the MediaStreamGraph.
// See bug 936784 for details.
Mute();
mDecoder.Shutdown();