Bug 1097823 - Followup to remove the assertions cpearce asked for because they don't hold. rpending=cpearce

This commit is contained in:
Bobby Holley 2014-12-07 15:41:46 -08:00
parent 26b358b2a0
commit a58bd0270b

View File

@ -312,8 +312,8 @@ MediaSourceReader::Shutdown()
mVideoTrack = nullptr;
mVideoReader = nullptr;
MOZ_ASSERT(mAudioPromise.IsEmpty());
MOZ_ASSERT(mVideoPromise.IsEmpty());
// We can't assert that the promises are empty here because our subdecoders
// might reject their final promises asynchronously.
MediaDecoderReader::Shutdown();
}