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

有内存泄漏问题 #57

Open
Franzeyang opened this issue Oct 30, 2018 · 1 comment
Open

有内存泄漏问题 #57

Franzeyang opened this issue Oct 30, 2018 · 1 comment

Comments

@Franzeyang
Copy link

pleaseWait()
UIApplication.shared.keyWindow?.rootViewController = UIViewController()
clearAllNotice()
在任意controller里执行完以上代码跳转到新的controller之后,旧controller的view没有被释放

@Franzeyang
Copy link
Author

找到原因了,是因为rv一直持有当前view

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

No branches or pull requests

1 participant