elementary / appcenter

Pay-what-you-can app store for elementary OS
https://elementary.io
GNU General Public License v3.0
541 stars 101 forks source link

MainWindow: Fix memory leaks + improvements #2194

Closed leolost2605 closed 3 months ago

leolost2605 commented 3 months ago

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