g_app_info_get_default_for_type not always returning the right result
Submitted by Florian Boucault
Link to original bug (#653999)
Description
Created attachment 191285 Reader Program
After a g_app_info_set_as_default_for_type in one process, doing g_app_info_get_default_for_type in another will not return the correct result.
See programs attached for a clear example of what happens.
Run set_default.py which will periodically set the default for a given type and run in parallel get_default.py which will periodically get the default for the same type. The results are inconsistent.
Attachment 191285, "Reader Program":
get_default.py
Version: 2.29.x