mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
72588; reset m_folderDoingCleanupInbox and m_folderDoingEmptyTrash to nsnull.
r=suresh sr=bienvenu
This commit is contained in:
parent
08322c85b4
commit
ca66309631
@ -2037,12 +2037,13 @@ nsMsgAccountManager::OnStartRunningUrl(nsIURI * aUrl)
|
||||
NS_IMETHODIMP
|
||||
nsMsgAccountManager::OnStopRunningUrl(nsIURI * aUrl, nsresult aExitCode)
|
||||
{
|
||||
if (m_folderDoingEmptyTrash)
|
||||
if (m_folderDoingEmptyTrash)
|
||||
{
|
||||
PR_CEnterMonitor(m_folderDoingEmptyTrash);
|
||||
PR_CNotifyAll(m_folderDoingEmptyTrash);
|
||||
m_emptyTrashInProgress = PR_FALSE;
|
||||
PR_CExitMonitor(m_folderDoingEmptyTrash);
|
||||
m_folderDoingEmptyTrash = nsnull; //reset to nsnull;
|
||||
}
|
||||
else if (m_folderDoingCleanupInbox)
|
||||
{
|
||||
@ -2050,6 +2051,7 @@ nsMsgAccountManager::OnStopRunningUrl(nsIURI * aUrl, nsresult aExitCode)
|
||||
PR_CNotifyAll(m_folderDoingCleanupInbox);
|
||||
m_cleanupInboxInProgress = PR_FALSE;
|
||||
PR_CExitMonitor(m_folderDoingCleanupInbox);
|
||||
m_folderDoingCleanupInbox=nsnull; //reset to nsnull
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user