From e85bdbc9b2f301097f321fe35f5c2139a17964e0 Mon Sep 17 00:00:00 2001 From: "ftang%netscape.com" Date: Fri, 26 Mar 1999 00:49:06 +0000 Subject: [PATCH] take out wrong assertion, we should do QueryInterface to both entry->mService and service with the sand IID and them compare them . approved by warren git-svn-id: svn://10.0.0.236/trunk@25160 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/components/nsServiceManager.cpp | 2 +- mozilla/xpcom/src/nsServiceManager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/xpcom/components/nsServiceManager.cpp b/mozilla/xpcom/components/nsServiceManager.cpp index b0ac135115c..2fbc692fe96 100644 --- a/mozilla/xpcom/components/nsServiceManager.cpp +++ b/mozilla/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/mozilla/xpcom/src/nsServiceManager.cpp b/mozilla/xpcom/src/nsServiceManager.cpp index b0ac135115c..2fbc692fe96 100644 --- a/mozilla/xpcom/src/nsServiceManager.cpp +++ b/mozilla/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);