Re: Lifecycle for custom NSURLProtocol properties
Re: Lifecycle for custom NSURLProtocol properties
- Subject: Re: Lifecycle for custom NSURLProtocol properties
- From: Jens Alfke <email@hidden>
- Date: Tue, 27 Sep 2016 14:02:37 -0700
> On Sep 26, 2016, at 10:42 PM, Allan Odgaard <email@hidden> wrote:
>
> 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.
Are they actually getting leaked? Does the memory usage of these values keep increasing over time?
> I guess this is a bit of a black box, but does anyone have any info/experience with this?
I’d recommend asking on the macnetworkprog list; there are more folks there (including Quinn) who might now for sure.
—Jens
_______________________________________________
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