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

ImGui memory leak fix #2284

Merged
merged 2 commits into from
Sep 25, 2024
Merged

ImGui memory leak fix #2284

merged 2 commits into from
Sep 25, 2024

Conversation

rbertels
Copy link
Contributor

Summary of the PR

The ImGuiController::UpdateImGuiImput function creates a MouseState but never disposes it.
This causes the MemoryPool to keep renting new buffers in the constructor, resulting in a small memory leak.

@rbertels
Copy link
Contributor Author

As per the contribution guide tagging @Perksey for a review.

I'm not a frequent OS contributor so if I skipped a step or did something incorrectly please let me know!

@Perksey Perksey marked this pull request as ready for review September 22, 2024 09:54
Copy link
Member

@Perksey Perksey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great spot, thank you!

@Perksey Perksey enabled auto-merge (squash) September 22, 2024 09:54
@Perksey Perksey merged commit 14ee3f1 into dotnet:main Sep 25, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants