Skip to content

Fixed memory leak in the UIKit view#89

Open
Amzd wants to merge 3 commits into
LottieFiles:mainfrom
Amzd:main
Open

Fixed memory leak in the UIKit view#89
Amzd wants to merge 3 commits into
LottieFiles:mainfrom
Amzd:main

Conversation

@Amzd
Copy link
Copy Markdown

@Amzd Amzd commented Sep 27, 2025

Fixes #73 and one other issue that both caused this leak. I also added a test, for which I pulled a random animation from the free area on your website.

  • fixed strong reference to self in closure stored on self
  • fixed strong reference to self in Coordinator class stored on self
  • added test

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Sep 27, 2025

⚠️ No Changeset found

Latest commit: f58f8ec

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Amzd
Copy link
Copy Markdown
Author

Amzd commented Sep 28, 2025

I don't know what changesets are so I'm gonna need a maintainer to take responsibility of that.

@Amzd
Copy link
Copy Markdown
Author

Amzd commented Oct 13, 2025

@samuelOsborne any reason this PR is going stale?

@maross
Copy link
Copy Markdown

maross commented Feb 18, 2026

@samuelOsborne any reason this PR is going stale?

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory leak in DotLottieAnimationView due to strong reference cycle with Coordinator

2 participants