Re: CFRead/WriteStreamClose hoops thread
Re: CFRead/WriteStreamClose hoops thread
- Subject: Re: CFRead/WriteStreamClose hoops thread
- From: Jens Alfke <email@hidden>
- Date: Fri, 31 Oct 2008 21:27:15 -0700
On Oct 31, 2008, at 7:03 PM, Eli Bach wrote: If you release "your" retain before unscheduling it from the runloop OR call streamclose, the calls will hang
That sounds like a framework bug; but in general, it's unwise to do anything with a reference after releasing it. Treat the pointer as though it were now garbage. You may "know" that something else has retained the object, so the pointer remains valid; but that behavior is almost always an implementation detail that could change.
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden