Skip to content

Potential leak in ImagePipelineDelgate #807

@prabhuamol

Description

@prabhuamol

Hi
Should the ImagePipelineDelgate be declared as weak var. We are seeing a leak in the app regarding this.

We have ImagePipeline declared as a lazy var in a Class, this results in a retain cycle and a leak

   lazy var imagePipeline: ImagePipeline = {
        return .init(configuration: configuration, delegate: self)
   }()

I have a PR open here #806

Thanks in advance!

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