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 Jun 2, 2018. It is now read-only.
Adding an event handler to a UIButton that pushes a view controller onto the current navigation controller causes a crashes in [super didReceiveMemoryWarning];
I'm unable to reproduce it. What SDK/OS version is this on? Where (code-wise) is the button being initialized? Not only should -addEventHandler: not being getting called on -didReceiveMemoryWarning, but -addEventHandler: doesn't get called when the button is tapped anyway.
Adding an event handler to a UIButton that pushes a view controller onto the current navigation controller causes a crashes in [super didReceiveMemoryWarning];
The offending code is:
Countless hours of debugging and on-device and simulator memory warnings have pinpointed the [button addEventHandler] to be the culprit.
Running the block in the main thread using GCD does not solve the crash.
The text was updated successfully, but these errors were encountered: