Skip to content

Memory leak issue #3

Description

@ranhsd

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions