• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSApplication delegate not released on quit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: NSApplication delegate not released on quit? (From: Greg Hurrell <email@hidden>)

  • Prev by Date: Re: Floating window
  • Next by Date: Re: Cocoa's custom class delegate conventions
  • Previous by thread: Re: NSApplication delegate not released on quit?
  • Next by thread: Re: NSApplication delegate not released on quit?
  • Index(es):
    • Date
    • Thread