diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-01-20 22:59:55 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-01-20 22:59:55 (GMT) |
commit | 6c6e6b5ec27e2c236bd339a317e5bbf049eccefa (patch) | |
tree | 9650c8e43dcd250aa99923521493d454e97a2666 /src/rost.c | |
parent | a0b5981329002f52cd96ebc08625e9cffb36fda0 (diff) |
Select core components to load.
Diffstat (limited to 'src/rost.c')
-rw-r--r-- | src/rost.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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: |