bug 1224022 produce memory report after processing main thread messages r=padenot

which may add new streams.
This commit is contained in:
Karl Tomlinson 2015-11-13 18:58:16 +13:00
parent 7435fdb0bc
commit 87114f605c

View File

@ -1229,11 +1229,11 @@ MediaStreamGraphImpl::UpdateMainThreadState()
bool
MediaStreamGraphImpl::OneIteration(GraphTime aStateEnd)
{
MaybeProduceMemoryReport();
// Process graph message from the main thread for this iteration.
RunMessagesInQueue();
MaybeProduceMemoryReport();
GraphTime stateEnd = std::min(aStateEnd, mEndTime);
UpdateGraph(stateEnd);