• 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: static objects "autoreleased with no pool in place - just leaking"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: static objects "autoreleased with no pool in place - just leaking"


  • Subject: Re: static objects "autoreleased with no pool in place - just leaking"
  • From: m <email@hidden>
  • Date: Thu, 12 Feb 2004 23:41:15 -0800

On Feb 12, 2004, at 10:51 PM, j o a r wrote:

I don't think that you are interpreting the warning messages correctly. Static variables doesn't usually cause messages like these. Where did you get the idea that your static variables were involved? Are you spawning any new threads in your code? If so, that's where you should be adding your additional autorelease pools.

I do spawn threads, and I do set them up with auto-release pools. Anyhow, "just leaking" warnings happen when the thread is spawned, not before. I'm certainly not spawning threads before main() is called, and the warnings I'm complaining about occur before main() gets called.

_murat
_______________________________________________
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.

  • Follow-Ups:
    • Re: static objects "autoreleased with no pool in place - just leaking"
      • From: j o a r <email@hidden>
References: 
 >static objects "autoreleased with no pool in place - just leaking" (From: m <email@hidden>)
 >Re: static objects "autoreleased with no pool in place - just leaking" (From: j o a r <email@hidden>)

  • Prev by Date: Re: DictionaryWithContentsOfURL
  • Next by Date: adf file viewer in MAC OS X
  • Previous by thread: Re: static objects "autoreleased with no pool in place - just leaking"
  • Next by thread: Re: static objects "autoreleased with no pool in place - just leaking"
  • Index(es):
    • Date
    • Thread