gio resources test fails on musl running /resource/module, as module cannot be unloaded
The output is
/resource/module - GLib-GIO:ERROR:../gio/tests/resources.c:764:test_resource_module: 'found' should be FALSE
The reason seems to be that g_type_module_unuse
does not actually unload the module, since the next call to g_resources_get_info
it's actually able to still find it. I have tried to debug this, but was completely unsuccessful trying to determine why the module is still accessible. Or even how dues the whole unloading code can stop making a resource available with the static registration of resources. Unfortunately, I have very little experience with this codebase and the internals of GIO
Edited by Pablo Correa Gomez