rv = compMgr->UnregisterFactory(kProxyObjectManagerCID, path);
rv = compMgr->UnregisterComponent(kProxyObjectManagerCID, path);
NSUnregisterSelf(nsISupports* aServMgr, const char *path){    nsresult rv;    nsCOMPtr<nsIServiceManager> servMgr(do_QueryInterface(aServMgr, &rv));    if (NS_FAILED(rv)) return rv;    nsIComponentManager* compMgr;    rv = servMgr->GetService(kComponentManagerCID,                              nsIComponentManager::GetIID(),                              (nsISupports**)&compMgr);    if (NS_FAILED(rv)) return rv;#ifdef NS_DEBUG    printf("*** nsProxyObjectManager is being unregistered.  Na na na na hey hey\n");#endif        rv = compMgr->UnregisterFactory(kProxyObjectManagerCID, path);    if (NS_FAILED(rv)) goto done;  done:    (void)servMgr->ReleaseService(kComponentManagerCID, compMgr);    return rv;}