Files
element-x-ios/ElementX/Sources/Other/SwiftUI
Stefan Ceriu 101fc7573b Don't crash when the GIF data provider is invoked off the main thread
LoadableImageContent.data(handler:) used MainActor.assumeIsolated to read
the loader's content, which crashes (libdispatch precondition) when
Kingfisher invokes the provider off the main thread, and fatalError'd
when the content wasn't GIF data. Hop onto the main actor and return a
failure instead. The handler is @Sendable per Kingfisher's protocol.
2026-06-22 16:54:52 +03:00
..
2026-05-27 17:11:42 +01:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00