зеркало из https://github.com/mozilla/gecko-dev.git
fix crash playing back offline imap trash emptying r/sr=sspitzer 121799
This commit is contained in:
Родитель
41cae16a23
Коммит
320952d8c3
|
@ -527,9 +527,10 @@ void nsImapOfflineSync::ProcessCopyOperation(nsIMsgOfflineImapOperation *current
|
|||
|
||||
void nsImapOfflineSync::ProcessEmptyTrash(nsIMsgOfflineImapOperation *currentOp)
|
||||
{
|
||||
m_currentFolder->EmptyTrash(m_window, this);
|
||||
m_currentDB->RemoveOfflineOp(currentOp);
|
||||
m_currentDB = nsnull; // empty trash deletes the database?
|
||||
m_currentFolder->EmptyTrash(m_window, this);
|
||||
// don't need to remove the current op because emptying trash will
|
||||
// delete the database.
|
||||
m_currentDB = nsnull; // empty trash deletes the database?
|
||||
}
|
||||
|
||||
// returns PR_TRUE if we found a folder to create, PR_FALSE if we're done creating folders.
|
||||
|
|
Загрузка…
Ссылка в новой задаче