summaryrefslogtreecommitdiff
path: root/src/rost.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-01-20 22:59:55 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-01-20 22:59:55 (GMT)
commit6c6e6b5ec27e2c236bd339a317e5bbf049eccefa (patch)
tree9650c8e43dcd250aa99923521493d454e97a2666 /src/rost.c
parenta0b5981329002f52cd96ebc08625e9cffb36fda0 (diff)
Select core components to load.
Diffstat (limited to 'src/rost.c')
-rw-r--r--src/rost.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/rost.c b/src/rost.c
index ba19b4f..297320d 100644
--- a/src/rost.c
+++ b/src/rost.c
@@ -387,10 +387,14 @@ int main(int argc, char **argv)
set_log_verbosity(verbosity);
- if (!load_all_core_components(true))
+#define CORE_COMPONENTS (ACC_SCAN_FEATURES)
+
+ if (!load_core_components(CORE_COMPONENTS))
goto done;
+ /*
init_all_plugins(true);
+ */
if (dump_modifiers)
{
@@ -534,13 +538,13 @@ int main(int argc, char **argv)
remember_gtypes_for_leaks();
#endif
- unload_all_core_components(true);
+ unload_core_components(CORE_COMPONENTS);
#ifdef TRACK_GOBJECT_LEAKS
dump_remaining_gtypes();
#endif
- exit_all_plugins();
+ //exit_all_plugins();
done: