• 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: ARC problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARC problems


  • Subject: Re: ARC problems
  • From: Jean-Daniel via Cocoa-dev <email@hidden>
  • Date: Tue, 3 Sep 2019 22:24:43 +0200

> Le 3 sept. 2019 à 02:33, Turtle Creek Software via Cocoa-dev
> <email@hidden> a écrit :
>
> Thanks for all the suggestions for the problems we had with a controller
> being
> deallocated unexpectedly under ARC.  Unfortunately, none of them fixed it.
>
> We do need to get back to regular app programming, so it will just stay a
> mystery.
> I was hoping we were doing something obviously dumb, but I guess the bug is
> more subtle.
>
> The app runs OK with the old code with multiple strong references to it
> They are circular references, but that controller sticks around for the
> full app lifetime.  Presumably any leakage
> won't happen until late in the game, anyhow.
>
> Thanks,

Just a last suggestion. How is you App delegate created ? Do you keep a strong
ref on it. Else it will be deallocated and so will the controller.

_______________________________________________

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

  • Follow-Ups:
    • Re: ARC problems
      • From: Turtle Creek Software via Cocoa-dev <email@hidden>
References: 
 >ARC problems (From: Turtle Creek Software via Cocoa-dev <email@hidden>)

  • Prev by Date: ARC problems
  • Next by Date: Re: ARC problems
  • Previous by thread: ARC problems
  • Next by thread: Re: ARC problems
  • Index(es):
    • Date
    • Thread