Fix assertion from dougt's nsIObserver / nsIObserverService changes. b=99163

This commit is contained in:
dbaron%fas.harvard.edu 2001-10-22 04:00:02 +00:00
parent 6c6805d401
commit 2c5d465413

View File

@ -187,7 +187,7 @@ NS_IMETHODIMP nsAccessProxy::Observe(nsISupports *aSubject, const char *aTopic,
if (NS_SUCCEEDED(rv)) {
nsCOMPtr<nsIObserverService> observerService(do_GetService(NS_OBSERVERSERVICE_CONTRACTID, &rv));
if (NS_SUCCEEDED(rv))
rv = observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, PR_FALSE);
rv = observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, PR_TRUE);
}
}
return rv;