зеркало из https://github.com/mozilla/gecko-dev.git
Bug 936784 - Don't overbuffer in the MSG on AudioContext shutdown. r=roc,ehsan
This commit is contained in:
Родитель
7293495624
Коммит
9e67190543
|
@ -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();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче