Lifecycle for custom NSURLProtocol properties
Lifecycle for custom NSURLProtocol properties
- Subject: Lifecycle for custom NSURLProtocol properties
- From: Allan Odgaard <email@hidden>
- Date: Tue, 27 Sep 2016 07:42:00 +0200
I am making use of NSURLProtocol’s `setProperty:forKey:inRequest:` but
it seems that my custom properties outlive the URL request, and even if
I explicitly call `removePropertyForKey:inRequest:` after my request is
done, it would appear that my properties are still being retained by
something.
I guess this is a bit of a black box, but does anyone have any
info/experience with this?
_______________________________________________
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