> Le 3 sept. 2019 à 02:33, Turtle Creek Software via Cocoa-dev > <cocoa-dev@lists.apple.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com