-
Notifications
You must be signed in to change notification settings - Fork 11
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
Prevent memory leaks #40
Conversation
Good catch, thank you. |
b95bd44
to
f463a51
Compare
@b1ackturtle |
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.
Thank you for adding the unit tests!
Could you check the additional comments I left in the review?
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.
Thank you for addressing all the feedback.
Since
WKWebViewConfiguration
,WKUIDelegate
, andWKNavigationDelegate
are referenced inWKWebView
, it is better that they are weakly referenced in theWebView
.Although no specific problems have been found, I think it will help prevent problems.