Hello,
I am using the following code to set up aggressive caching for the pipeline:
let dataLoaderConfiguration = DataLoader.defaultConfiguration
dataLoaderConfiguration.urlCache = nil
let dataLoader: DataLoader = .init(configuration: dataLoaderConfiguration, validate: DataLoader.validate)
var configuration = ImagePipeline.Configuration()
configuration.dataCache = try? DataCache(name: "com.theblueground.guestapp.DataCache")
configuration.dataLoader = dataLoader
configuration.imageCache = ImageCache()
ImagePipeline.shared = ImagePipeline(configuration: configuration)
I released there is a memory leak at DataLoader.init(configuration:validate:) method.
See the attached screenshots for more details.



Hello,
I am using the following code to set up aggressive caching for the pipeline:
I released there is a memory leak at DataLoader.init(configuration:validate:) method.
See the attached screenshots for more details.