mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
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:
parent
fac287f778
commit
5de0d07ea7
@ -110,6 +110,7 @@ nsMenuX::~nsMenuX()
|
||||
|
||||
RemoveAll();
|
||||
|
||||
[mMacMenu setDelegate:nil];
|
||||
[mMacMenu release];
|
||||
[mMenuDelegate release];
|
||||
[mNativeMenuItem release];
|
||||
|
Loading…
Reference in New Issue
Block a user