You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2024. It is now read-only.
ATMHudView retains its parent ATMHud object when initWithFrame:andController: is called. But ATMHud also retains the ATMHudView. Therefore a retain cycle and nothing can ever get deallocated.
The faulty line is this, in ATMHudView.h:
@property (nonatomic, retain) ATMHud *p;
That needs to change to assign and then in [ATMHudView dealloc], p should not be released.
The text was updated successfully, but these errors were encountered:
ATMHudView retains its parent ATMHud object when initWithFrame:andController: is called. But ATMHud also retains the ATMHudView. Therefore a retain cycle and nothing can ever get deallocated.
The faulty line is this, in ATMHudView.h:
That needs to change to assign and then in [ATMHudView dealloc], p should not be released.
The text was updated successfully, but these errors were encountered: