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

MainWindow: Fix memory leaks + improvements #2194

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

leolost2605
Copy link
Member

Fixes more memory leaks caused by https://gitlab.gnome.org/GNOME/vala/-/issues/1548
(the MainWindow wasn't freed when destroyed).

Also since we now always hold the application we don't have to hide the window to cancel updates since the flatpakbackend is static anyways. This also fixes #2166 and therefore closes #2168

@leolost2605 leolost2605 requested a review from a team June 23, 2024 11:01
Copy link
Contributor

@zeebok zeebok left a comment

Choose a reason for hiding this comment

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

Works like a charm to remove a segfault I just noticed

Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

Nice job with the fix!

@danirabbit danirabbit merged commit e04bbf3 into main Jun 24, 2024
2 of 4 checks passed
@danirabbit danirabbit deleted the leolost/fix-more-mem-leaks branch June 24, 2024 15:01
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.

Segfault on wayland
3 participants