Skip to content
Commit 0c572a9f authored by Milan Crha's avatar Milan Crha Committed by Philip Withnall
Browse files

gs-appstream: Check the cancellable in gs_appstream_do_search()

The search can be cancelled while the user types the search term,
but the gs_appstream_do_search() doesn't check the cancellable
at all, which means it can do the search, which will be discarded
anyway. Early return avoids unneeded work.

Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1989
parent f46f77fb
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