summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/core.c b/src/core/core.c
index 5ce07d0..47e808d 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -131,12 +131,23 @@ bool load_all_basic_components(void)
void unload_all_basic_components(void)
{
+ GContentExplorer *explorer; /* Explorateur de contenus */
+ GContentResolver *resolver; /* Résolveur de contenus */
+
unload_collection_definitions();
unload_demanglers_definitions();
unload_processors_definitions();
+ explorer = g_content_explorer_new();
+ set_current_content_explorer(NULL);
+ g_object_unref(G_OBJECT(explorer));
+
+ resolver = g_content_resolver_new();
+ set_current_content_resolver(NULL);
+ g_object_unref(G_OBJECT(resolver));
+
exit_global_works();
g_generic_config_write(get_main_configuration());