Skip to content
Commit d40a2129 authored by Kalev Lember's avatar Kalev Lember
Browse files

updates page: Fix flatpak updates inadvertently triggering a reboot

Move the logic to decide if we need to reboot or not to run _before_
scheduling an update. Previously we would do it _after_ having applied
the updates, which didn't work because the app flags we were looking at
to make the decision (AS_APP_STATE_UPDATABLE_LIVE) had already changed
at that point (to AS_APP_STATE_INSTALLED).

This fixes a long standing bug where flatpak updates done through
"Update All" would inadvertently bring up the shell reboot dialog and
then lead to a gnome-software crash after dismissing the dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=782618
parent 2b19f2ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment