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

Memory leak issue #3

Open
ranhsd opened this issue Jan 7, 2018 · 0 comments
Open

Memory leak issue #3

ranhsd opened this issue Jan 7, 2018 · 0 comments

Comments

@ranhsd
Copy link

ranhsd commented Jan 7, 2018

Hi, I just tried this library in one of my project and I found some issue with the delegate variable. This variable is declared as strong variable means that if I will write:

layout.delegate = self

I am actually holding a strong reference to my view controller. This delegate needs to be changed to weak so the view controller can be released.

Thanks,
Ran

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