Bug 1330889. Part 1 - remove the assertion in MDSM::FinishShutdown. r=kikuo

http://searchfox.org/mozilla-central/rev/3f614bdf91a2379a3e2c822da84e524f5e742121/dom/media/MediaDecoderStateMachine.cpp#1825
This assertion ensures we never escape the SHTUDOWN state.

MozReview-Commit-ID: 6jPgVQuiPZf

--HG--
extra : rebase_source : bc402bc7942accf04bad3f509af7ba2bde98218e
This commit is contained in:
JW Wang 2017-01-13 15:04:11 +08:00
parent f6d1e334f7
commit f17f6489f7

View File

@ -3295,8 +3295,6 @@ RefPtr<ShutdownPromise>
MediaDecoderStateMachine::FinishShutdown()
{
MOZ_ASSERT(OnTaskQueue());
MOZ_ASSERT(mState == DECODER_STATE_SHUTDOWN,
"How did we escape from the shutdown state?");
DECODER_LOG("Shutting down state machine task queue");
return OwnerThread()->BeginShutdown();
}