فهرست منبع

Merge pull request #1886 from IgorFedorchuk/fix/gif_deinit

Attempt to fix crash on changing gif
Wei Wang 4 سال پیش
والد
کامیت
15dde451f9
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      Sources/Views/AnimatedImageView.swift

+ 1 - 0
Sources/Views/AnimatedImageView.swift

@@ -472,6 +472,7 @@ extension AnimatedImageView {
         }
         
         deinit {
+            resetAnimatedFrames()
             GraphicsContext.end()
         }