Re: ARC problems
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
References: | |
| >ARC problems (From: Turtle Creek Software via Cocoa-dev <email@hidden>) |