Skip to content

Data races in SDWebImageSwiftUI #358

@biovolt

Description

@biovolt

Please see the Data races below that exist in SDWebImageSwiftUI
The last screenshot is my scheme diagnostics that shows how to get these data races to show.

SDWebImageSwiftUI is used in a SwiftUI List

And called like this

    @ViewBuilder
    private func cachedAsyncImageContent(url: URL?) -> some View {
        WebImage(url: url) { image in
            image
                .resizable()
                .aspectRatio(contentMode: configuration.contentMode)
                .transition(.fade(duration: 0.3))
        } placeholder: {
                ProgressView()
                    .progressViewStyle(CircularProgressViewStyle())
                    .scaleEffect(configuration.loadingIndicatorScale)
        }
        .onFailure {  }
    }

Data race in closure #1 (Swift.Int, Swift.Int, Swift.Optional<Foundation.URL>) -> () in SDWebImageSwiftUI.ImageManager.load(url: Swift.Optional<Foundation.URL>, options: __C.SDWebImageOptions, context: Swift.Optional<Swift.Dictionary<__C.SDWebImageContextOption, Any>>) -> () at 0x13036d6a0

Image ` Data race in SDWebImageSwiftUI.WebImage.setupManager() -> () at 0x13038c3c0` Image

Scheme

Image

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