mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
fix bloat of imap msg dbs when headers have been downloaded r=naving, sr=sspitzer 114487
This commit is contained in:
parent
b659745e81
commit
5388e1b43b
@ -2554,6 +2554,7 @@ NS_IMETHODIMP nsImapMailFolder::NormalEndHeaderParseStream(nsIImapProtocol*
|
||||
if (mDatabase && (!m_msgMovedByFilter || ShowDeletedMessages()))
|
||||
mDatabase->AddNewHdrToDB(newMsgHdr, PR_TRUE);
|
||||
m_msgParser->Clear(); // clear out parser, because it holds onto a msg hdr.
|
||||
m_msgParser->SetMailDB(nsnull); // tell it to let go of the db too.
|
||||
// I don't think we want to do this - it does bad things like set the size incorrectly.
|
||||
// m_msgParser->FinishHeader();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user