Explorar o código

reset frames before deinit

Igor Fedorchuk %!s(int64=4) %!d(string=hai) anos
pai
achega
b8a47d9588
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Sources/Views/AnimatedImageView.swift

+ 1 - 0
Sources/Views/AnimatedImageView.swift

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