Skip to content
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

Upup 692 memory leak #3

Merged
merged 13 commits into from
Dec 2, 2024
Merged

Upup 692 memory leak #3

merged 13 commits into from
Dec 2, 2024

Conversation

reykich
Copy link
Contributor

@reykich reykich commented Nov 27, 2024

No description provided.


override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Уберем пустую строку

import UIKit

class HostingController<T: View>: UIHostingController<T> {
var isNavigationBarHidden: Bool { false }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Уберем пропертю

@@ -7,7 +7,7 @@

import Foundation

public struct FormValidator {
public class FormValidator: ObservableObject {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Думаю тут структуру можно оставить, давай чекнем что работает.

Если оставим классом, то так как formValidator прокидывается в content, то есть вероятность что его могут захватить

}
}


Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Уберем пустую строку

@reykich reykich merged commit 47a0d6e into main Dec 2, 2024
@reykich reykich deleted the UPUP-692-memory-leak branch December 2, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants