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

refactor: Change lifetime of context menus #4924

Merged
merged 5 commits into from
Oct 29, 2023

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Oct 29, 2023

Description

I saw that dialog code and couldn't unsee it. This memory leak is really tiny, so almost not worth a changelog entry.

When looking at the menu code, I found the weird previousMenu construction(s). They aren't needed, so I replaced them.

@pajlada pajlada changed the title fix: Tiny memory leak refactor: Change lifetime of context menus Oct 29, 2023
@pajlada pajlada enabled auto-merge (squash) October 29, 2023 19:01
@pajlada pajlada merged commit c811e2d into Chatterino:master Oct 29, 2023
15 checks passed
@Nerixyz Nerixyz deleted the fix/tiny-memory-leak branch October 29, 2023 19:32
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.

2 participants