Fixing bug 420223 - Add |setDelegate:nil| call to the |nsMenuX.mm| destructor (crash protection). r=josh,sr=roc,approval1.9b4=beltzner

This commit is contained in:
nick.kreeger@park.edu 2008-02-29 16:05:18 -08:00
parent fac287f778
commit 5de0d07ea7

View File

@ -110,6 +110,7 @@ nsMenuX::~nsMenuX()
RemoveAll();
[mMacMenu setDelegate:nil];
[mMacMenu release];
[mMenuDelegate release];
[mNativeMenuItem release];