if (m_db) m_db->ForceClosed(); nsLocalFolderSummarySpec summarySpec(m_fileSpec); m_fileSpec.Delete(PR_FALSE); summarySpec.Delete(PR_FALSE);
nsFolderCompactState::~nsFolderCompactState(){  CloseOutputStream();  if (m_baseMessageUri)  {    nsCRT::free(m_baseMessageUri);    m_baseMessageUri = nsnull;  }  if (NS_FAILED(m_status))  {    CleanupTempFilesAfterError();    // if for some reason we failed remove the temp folder and database  }}