Files
flatpak/lib
Joaquim Rocha 0bb024869a lib/installation: Don't try to find dynamic remotes when not needed
When getting the dynamic remotes for the installed refs, if no refs
with a collection ID are found, then the ostree_repo_find_remotes_async
is given an array with just NULL, which makes it early return and thus
it would result in an infinite loop in
flatpak_installation_list_installed_refs_for_update.

This patch only tries to find the dynamic remotes when there are such
refs, thus preventing the mentioned error and any extra unnecessary
processing.

Closes: #1587
Approved by: mwleeds
2018-04-19 20:59:34 +00:00
..
2016-07-29 14:27:49 -04:00
2016-07-29 14:27:49 -04:00
2016-05-09 09:00:20 +02:00
2016-07-29 14:27:49 -04:00