Re: NSApplication delegate not released on quit?
Re: NSApplication delegate not released on quit?
- Subject: Re: NSApplication delegate not released on quit?
- From: Finlay Dobbie <email@hidden>
- Date: Sat, 14 Jun 2003 11:39:52 +0100
On Saturday, June 14, 2003, at 09:31 am, Greg Hurrell wrote:
And if it were corrected
It *was* corrected. Once upon a time, in classic MacOS and DOS-based
versions of Windows, it was possible to allocate memory that didn't
get returned to the OS until it was explicitly released by your code.
Again, see above. I'm not criticizing the way Mac OS X cleans up on
process termination; I'm criticizing AppKit for departing from an
established pattern.
It's not. Your NSApplication's delegate would only be released when
NSApplication is deallocated. NSApplication is simply not ever
deallocated, it exists for the lifetime of your program.
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.