• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Lifecycle for custom NSURLProtocol properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Lifecycle for custom NSURLProtocol properties (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
  • Next by Date: Re: SecStaticCodeCheckValidity fails when app is lauched from Terminal
  • Previous by thread: Lifecycle for custom NSURLProtocol properties
  • Next by thread: NSTextView read real text content (without 0xA added by wordwrap)
  • Index(es):
    • Date
    • Thread