• 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: Garbage Collection and NSNetService
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garbage Collection and NSNetService


  • Subject: Re: Garbage Collection and NSNetService
  • From: mmalc crawford <email@hidden>
  • Date: Sun, 11 Nov 2007 09:44:25 -0800


On Nov 11, 2007, at 8:37 AM, August Trometer wrote:

I have an object that does this, BJController. It is instantiated within the Nib and the service is published during awakeFromNib
[...]
Now, as long as I keep Garbage Collection turned off, this works fine. When I turn it on, however, the service object seems to evaporate before the service is published, and my NSNetService delegate methods never get called at all.
I've been through the GC docs, and I'm assuming it's got something to do with a weak reference somewhere. But I can't seem to figure out where that would be.


<http://developer.apple.com/documentation/Cocoa/Conceptual/GarbageCollection/Articles/gcEssentials.html >

mmalc

_______________________________________________

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: 
 >Garbage Collection and NSNetService (From: August Trometer <email@hidden>)

  • Prev by Date: Crash Reporter for Cocoa Application
  • Next by Date: Re: Garbage Collection and NSNetService
  • Previous by thread: Garbage Collection and NSNetService
  • Next by thread: Re: Garbage Collection and NSNetService
  • Index(es):
    • Date
    • Thread