Bug 1058903 - Ignore the GMPService shutdown assert, because it always fails. r=jesup

This is failing all the time right now, but we never reach the assert due to crashing earlier.

To allow us to get e10s shutdown leak checking working, ignore this assertion until GMPService is
fixed for e10s.
This commit is contained in:
Andrew McCreight 2014-09-10 14:52:36 -07:00
parent 10f58e6383
commit 61a5c7e622

View File

@ -278,7 +278,10 @@ GeckoMediaPluginService::Observe(nsISupports* aSubject,
nsCOMPtr<nsIThread> gmpThread;
{
MutexAutoLock lock(mMutex);
MOZ_ASSERT(mShuttingDown);
// XXX The content process never gets profile-change-teardown, so mShuttingDown
// will always be false here. GMPService needs to be proxied to the parent.
// See bug 1057908.
MOZ_ASSERT(XRE_GetProcessType() != GeckoProcessType_Default || mShuttingDown);
mGMPThread.swap(gmpThread);
}