mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=943461 don't move messages from mCurrentTaskMessageQueue after it has been emptied r=roc
--HG-- extra : transplant_source : a%27%91%24%A5%1Fe%82%B5%5B%82%AF%17%1A%BA%D8%9DRai
This commit is contained in:
parent
015174ff82
commit
a54f7ad79d
@ -1543,7 +1543,7 @@ MediaStreamGraphImpl::RunInStableState()
|
||||
controlMessagesToRunDuringShutdown.MoveElementsFrom(mb.mMessages);
|
||||
}
|
||||
mMessageQueue.Clear();
|
||||
controlMessagesToRunDuringShutdown.MoveElementsFrom(mCurrentTaskMessageQueue);
|
||||
MOZ_ASSERT(mCurrentTaskMessageQueue.IsEmpty());
|
||||
// Stop MediaStreamGraph threads. Do not clear gGraph since
|
||||
// we have outstanding DOM objects that may need it.
|
||||
mLifecycleState = LIFECYCLE_WAITING_FOR_THREAD_SHUTDOWN;
|
||||
|
Loading…
Reference in New Issue
Block a user