SDWebImage / SDWebImageSwiftUI

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

Fix the leak of WebImage with animation and NavigationLink. #163

Closed dreampiggy closed 3 years ago

dreampiggy commented 3 years ago

The leak is because of @State which may cause reference cycle.

See result:

image