Re: NSSocketPort question: retainCount
Re: NSSocketPort question: retainCount
- Subject: Re: NSSocketPort question: retainCount
- From: Douglas Davidson <email@hidden>
- Date: Mon, 16 May 2005 10:29:11 -0700
On May 16, 2005, at 8:04 AM, Fabio Ribeiro wrote: Any idea on why the code below (at least on Tiger - I didn't tested on Panther) reports '2' for the retainCount after I've called only once 'init?'?
After some calls, even calling release, of course I won't be able to open sockets anymore (too many open files for this process) and I'll be with some zoombies running? (one zoombie created per call) I'm not connecting at this time: I'm just creating a NSSocketPort object for test.
You need to invalidate the port when you are done with it.
Douglas Davidson
|
_______________________________________________
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