SDWebImage / SDWebImageSwiftUI

SwiftUI Image loading and Animation framework powered by SDWebImage
https://sdwebimage.github.io/SDWebImageSwiftUI
MIT License
2.1k stars 216 forks source link

thread issue - isLoading #252

Open luxxyarns opened 1 year ago

luxxyarns commented 1 year ago

Within ImageManager, self.isLoading (function load()) is called potentially on a different thread than the main thread (i.e. producing the message 'Publishing changes from within view updates is not allowed, this will cause undefined behavior.') since this is a published var can you please make sure that this does not happen?