-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean memory leaks #364
Clean memory leaks #364
Conversation
I had a quick run through, there are retain issues in/related to Sign Up Quick way to test vs profiler is with a deinit {
print("dealloc DatabasePresenter")
} Also check after inputting in fields. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Profiles with no leaks now.
@@ -129,22 +129,22 @@ class DatabaseOnlyView: UIView, DatabaseView { | |||
|
|||
passwordPolicyView.isHidden = true | |||
form.passwordField.errorLabel?.removeFromSuperview() | |||
form.passwordField.onBeginEditing = { _ in | |||
passwordPolicyView.isHidden = false | |||
form.passwordField.onBeginEditing = { [weak passwordPolicyView] _ in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are not necessary.
No description provided.