delete m_accounts;
nsresult rv;  if(!m_haveShutdown) { Shutdown();   nsCOMPtr<nsIObserverService> observerService = do_GetService("@mozilla.org/observer-service;1", &rv); if (NS_SUCCEEDED(rv)) { observerService->RemoveObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID); observerService->RemoveObserver(this, "network:offline-status-changed"); } }
nsMsgAccountManager::~nsMsgAccountManager(){  delete m_accounts;}