87872 r=cavin sr=bienvenu; remove Release() because it causes a crash if you

rename a local folder and exit immediately.
This commit is contained in:
naving%netscape.com 2001-07-06 01:45:50 +00:00
Родитель e1e3419dfd
Коммит 3dbcbcafe4
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -1224,8 +1224,6 @@ NS_IMETHODIMP nsMsgLocalMailFolder::Rename(const PRUnichar *aNewName, nsIMsgWind
nsCOMPtr<nsISupports> newFolderSupport = do_QueryInterface(newFolder); nsCOMPtr<nsISupports> newFolderSupport = do_QueryInterface(newFolder);
NotifyItemAdded(parentSupport, newFolderSupport, "folderView"); NotifyItemAdded(parentSupport, newFolderSupport, "folderView");
} }
Release(); // really remove ourself from the system; since we need to
// regenerate the folder uri from the parent folder.
/***** jefft - /***** jefft -
* Needs to find a way to reselect the new renamed folder and the * Needs to find a way to reselect the new renamed folder and the
* message being selected. * message being selected.