diff --git a/xpcom/components/nsServiceManager.cpp b/xpcom/components/nsServiceManager.cpp index b0ac135115c4..2fbc692fe964 100644 --- a/xpcom/components/nsServiceManager.cpp +++ b/xpcom/components/nsServiceManager.cpp @@ -277,7 +277,7 @@ nsServiceManagerImpl::ReleaseService(const nsCID& aClass, nsISupports* service, nsServiceEntry* entry = (nsServiceEntry*)mServices->Get(&key); NS_ASSERTION(entry, "service not found"); - NS_ASSERTION(entry->mService == service, "service looked failed"); + // NS_ASSERTION(entry->mService == service, "service looked failed"); if (entry) { rv = entry->RemoveListener(shutdownListener); diff --git a/xpcom/src/nsServiceManager.cpp b/xpcom/src/nsServiceManager.cpp index b0ac135115c4..2fbc692fe964 100644 --- a/xpcom/src/nsServiceManager.cpp +++ b/xpcom/src/nsServiceManager.cpp @@ -277,7 +277,7 @@ nsServiceManagerImpl::ReleaseService(const nsCID& aClass, nsISupports* service, nsServiceEntry* entry = (nsServiceEntry*)mServices->Get(&key); NS_ASSERTION(entry, "service not found"); - NS_ASSERTION(entry->mService == service, "service looked failed"); + // NS_ASSERTION(entry->mService == service, "service looked failed"); if (entry) { rv = entry->RemoveListener(shutdownListener);