• 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: Can I somehow encourage the deallocation of a dismissed view controller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I somehow encourage the deallocation of a dismissed view controller?


  • Subject: Re: Can I somehow encourage the deallocation of a dismissed view controller?
  • From: G S <email@hidden>
  • Date: Thu, 09 Feb 2012 13:38:12 -0800

I have a breakpoint in the problematic object's dealloc method, and it is
never called when I'm testing it, even when I know that the parent has been
deallocated.

Conveniently, the deallocation of the control only occurs when the phone is
running untethered (not under the debugger).  It's possible that the
deallocation only occurs when a memory warning comes through, but in that
case I have no idea who owns the control and would be clearing it out.

I'm investigating a white-screen problem that turns out to be a result of
memory warnings, so maybe I can trigger this other crash by issuing a
low-memory simulation in the simulator.

Thanks for your reply.
_______________________________________________

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: 
 >Can I somehow encourage the deallocation of a dismissed view controller? (From: G S <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: Conrad Shultz <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: G S <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: Conrad Shultz <email@hidden>)
 >Can I somehow encourage the deallocation of a dismissed view controller? (From: G S <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: Conrad Shultz <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: G S <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Odd behavior of NSItemReplacementDirectory
  • Next by Date: Re: Clipping a CAGradientLayer with a duplicated CAShapeLayer (don't)
  • Previous by thread: Re: Can I somehow encourage the deallocation of a dismissed view controller?
  • Next by thread: Re: Can I somehow encourage the deallocation of a dismissed view controller?
  • Index(es):
    • Date
    • Thread