• 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: NSDistributedNotificationCenter questions.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDistributedNotificationCenter questions.


  • Subject: Re: NSDistributedNotificationCenter questions.
  • From: "Mr. Gecko" <email@hidden>
  • Date: Fri, 18 Feb 2011 18:46:11 -0600

More information found. This may be a bug. I found this really cool method for NSAutoreleasePools called showPools. It is really useful for something like this. I found that it has a autorelease pool, but it never drains. It just gains items until it gets to 1016 items and then I don't know what it does. But when I have my own autorelease pool, it releases everything when I drain it. So it could possibly be that the NSAutoreleasePool created for the notification just never gets drained and is always getting used for every call for the notification. I still have no idea who fault this could be, mine or the application that is posting the notification, but I do know that this doesn't happen with my other notifications for local things. As I said, I have a work around for this, so I am not asking for someone to suggest a fix, I am just asking for an explanation on why this happens. Incase you need help to figure this out, the notification I am asking for is com.apple.iTunes.playerInfo.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSDistributedNotificationCenter questions. (From: "Mr. Gecko" <email@hidden>)
 >Re: NSDistributedNotificationCenter questions. (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Trouble with design pattern
  • Next by Date: Re: Multithread, Window, Event, Runloop, ... => Headache
  • Previous by thread: Re: NSDistributedNotificationCenter questions.
  • Next by thread: Re: NSDistributedNotificationCenter questions.
  • Index(es):
    • Date
    • Thread