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

gs-plugin-loader: Replace use of g_source_set_name_by_id()

The g_source_set_name_by_id() is not thread safe and can cause a crash
when the just scheduled source in a dedicated thread is already processed
in the main thread. The documentation of the g_source_set_name_by_id()
explicitly states this being a programmer error.

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