[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSMenu
From: |
Raffael Herzog |
Subject: |
Re: NSMenu |
Date: |
Wed, 04 Feb 2004 13:13:22 +0100 |
User-agent: |
Opera7.23/Linux M2 build 518 |
On Wed, 04 Feb 2004 12:55:14 +0100, Raffael Herzog
<herzog-lists@raffael.ch> wrote:
NSMenu *menu = [[NSMenu alloc] initWithTitle:@""];
[NSMenu popUpContextMenu:menu withEvent:myEvent forView:myView];
RELEASE(menu);
[...]
the menu object doesn't seem to be released (its dealloc method is not
called)... Why ?
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html#//apple_ref/doc/uid/20000994
Oops, sorry, didn't look at your code carefully enough. Forget my reply. :)
cu,
Raffi
--
The difference between theory and practice is that in theory, there is no
difference, but in practice, there is.
Raffael Herzog - herzog@raffael.ch - www.raffael.ch - ICQ #67961355
- NSMenu, Quentin Mathé, 2004/02/03
- Re: NSMenu, Raffael Herzog, 2004/02/04
- Re: NSMenu,
Raffael Herzog <=
- Re: NSMenu, Quentin Mathé, 2004/02/04