nsCOMPtr<nsIComponentLoaderManager> mgr; NS_GetComponentLoaderManager(getter_AddRefs(mgr)); if (mgr) mgr->FlushPersistentStore(PR_FALSE);
nsCategoryManager::DeleteCategoryEntry( const char *aCategoryName,                                        const char *aEntryName,                                        PRBool aDontPersist)  {    NS_ASSERTION(aCategoryName, "aCategoryName is NULL!");    NS_ASSERTION(aEntryName,    "aEntryName is NULL!");      /*        Note: no errors are reported since failure to delete        probably won't hurt you, and returning errors seriously        inconveniences JS clients      */    CategoryNode* category = find_category(aCategoryName);    if (category)      {        nsCStringKey entryKey(aEntryName);        category->RemoveAndDelete(&entryKey);      }    return NS_OK;  }