• 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: My bug or Apple's?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My bug or Apple's?


  • Subject: Re: My bug or Apple's?
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 11 Nov 2004 21:20:05 -0700


On Nov 11, 2004, at 7:49 PM, John Stiles wrote:

So what's the best solution here?
(a) Wrap this destructor with an autorelease pool
(b) Find a way to release the NSImages before exit() is called
(c) File a bug with Apple, since they are assuming an autorelease pool exists

There are a number of objects in the Cocoa frameworks that assume an autorelease pool is in place at all times. I would say that is not a bug. If your application is calling -[NSApp terminate], you should probably just wrap that in an autorelease pool.


Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >My bug or Apple's? (From: John Stiles <email@hidden>)

  • Prev by Date: Re: objc_method_list structure?
  • Next by Date: Re: Strategy for NSTimer
  • Previous by thread: My bug or Apple's?
  • Next by thread: Re: My bug or Apple's?
  • Index(es):
    • Date
    • Thread