Skip to content

possible memory leak that can be fixed easily ! #15

@saormart

Description

@saormart

Hi there, nice framework by the way!
I was using another framework that use yours for crop, and I found a memory leak with the picture, and it was easy to fix by declare the "imageView" var as weak var in the class SECropView!
public class SECropView: UIView { ... fileprivate weak var imageView : UIImageView?

hope this help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions