Hi all. Our app is crashing on the deallocation of a custom control, which resides on a view that's pushed onto the navigation controller's stack.
The problem is that this view is almost never deallocated, even long after the user dismisses it with the Back button. It's not a leak, so I guess the OS just keeps it around for future use. However, it is deallocated at unpredictable times, and crashes every time. Does anyone know why these things linger so long after being dismissed? I can't just deallocate it, because that isn't safe and not a valid test anyway. Do modally presented views get deallocated more quickly after being dismissed? I could try adding a "done" button to the view temporarily so I can invoke it that modally and dismiss it. Meanwhile I guess I'll just try allocating and releasing one right away, pending any suggestions from you all. Thanks! Gavin _______________________________________________ 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