Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leak in m-frame loading progress (#178) #182

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

MarcusLongmuir
Copy link
Collaborator

Fixes #178.

The removal of loading progress of static m-frames was being reported to the wrong LoadingProgressManager. It should have been being reported to the parent LoadingProgressManager, but was instead reported to its own. This meant that the parent LoadingProgressManager was retaining a reference to the m-frame element which was preventing it from being garbage collected.

There are also two minor drive-by fixes that were found during investigation that prevent holding references to previous instance data.

cc @tbergmueller


What kind of changes does your PR introduce? (check at least one)

  • Bugfix

Does your PR introduce a breaking change? (check one)

  • No

Does your PR fulfill the following requirements?

  • All tests are passing
  • The title references the corresponding issue # (if relevant)

@TheCodeTherapy TheCodeTherapy merged commit 13c5ff1 into main Jul 2, 2024
8 checks passed
@TheCodeTherapy TheCodeTherapy deleted the bugfix/m-frame-memory-leak branch July 2, 2024 13:33
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.

[Bug]: Significant memory leak with <m-frame "load-range"="...">
2 participants