Skip to content

Possible retain cycle #105

Description

@adriansergheev

Hi,
there is a possible retain cycle in the lib. I am saying possible because it is probably my code, but I can't see where it comes from so I am writing here,

Yet again i don't know if the issue is in the library or in the code, hopefully, I will find that out :)

Problem:
image

I think the problem lays somewhere here:
image
image

image

Everywhere where I do have a reference to self, i do if let self = self in the vc, but the header, FormSwitchCell and the header view for the cell does not get deallocated.

Former was declared like so:

image

Am I missing something? Thank you very much!

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions