Hi, I've a CFSocketRef, which runloop source I've added to the default runloop. All works fine. When I want to clean up the socket, I explicitly remove the source from the runloop and then call CFSocketInvalidate and CFRelease on the socket. I'm wondering whether is actually necessary to remove the source from the runloop first. NSTimer objects seem to remove their source from a runloop automatically when they are invalidated. Can someone tell me whether it's needed?
Kind regards, Remco Poelstra _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com