Skip to content

Commit

Permalink
Merge pull request #1 from jithin-epifi/infinite-loop-crash-fix
Browse files Browse the repository at this point in the history
Remove layout subviews to fix infinite loop crash: Juanpe#495
  • Loading branch information
jithin-epifi authored Nov 20, 2024
2 parents 30c92f0 + d57a7d0 commit 4e38ef6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ extension UIView {

@objc func skeletonLayoutSubviews() {
guard Thread.isMainThread else { return }
skeletonLayoutSubviews()
guard sk.isSkeletonActive else { return }
layoutSkeletonIfNeeded()
}
Expand Down

0 comments on commit 4e38ef6

Please sign in to comment.