SDWebImageSwiftUI
SDWebImageSwiftUI copied to clipboard
Data races in SDWebImageSwiftUI
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
Scheme
I've seen a crash on that exact part as well. So worth taking a look.
Were seeing similar issues on iOS 26.1.0