Backed out changeset ecd2b45a42af (Bug 364864) due to Leak test red

This commit is contained in:
Karsten Düsterloh
2009-10-05 23:34:21 +02:00
parent 18eeeadc8d
commit b1af2f1ce4
3 changed files with 14 additions and 31 deletions

View File

@@ -715,8 +715,8 @@ nsresult nsComponentManagerImpl::Shutdown(void)
// Shutdown the component manager
PR_LOG(nsComponentManagerLog, PR_LOG_DEBUG, ("nsComponentManager: Beginning Shutdown."));
// Write out our component data file, if dirty.
if (mRegistryDirty || mCategoryManager->IsDirty()) {
// Write out our component data file.
if (mRegistryDirty) {
nsresult rv = WritePersistentRegistry();
if (NS_FAILED(rv)) {
PR_LOG(nsComponentManagerLog, PR_LOG_ERROR, ("nsComponentManager: Could not write out persistent registry."));