Ungenerate destroyed menus in case we recreate the frames later b=279769 r+sr=bz

This commit is contained in:
neil%parkwaycc.co.uk 2005-03-26 09:56:38 +00:00
parent 6c09a95819
commit f83d4cb93d

View File

@ -343,6 +343,7 @@ nsMenuFrame::Destroy(nsPresContext* aPresContext)
}
}
UngenerateMenu();
DestroyPopupFrames(aPresContext);
return nsBoxFrame::Destroy(aPresContext);
}