Skip to content

flatpak: Fix logic error check of GsFlatpak in gs_plugin_download

Umang Jain requested to merge uajain/flatpak-null-fix into master

GsFlatpak instance can be NULL if there are other apps for download coming via other plugins. Since the last reference of GsFlatpak was in the previous loop and the check is outside the loop, this seems as a logical error. Instead, check if the current plugin as no apps to download and if so, return early.

Merge request reports