summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-08-17 20:47:23 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-08-17 20:47:23 (GMT)
commit4a0320f107f294d1b870d44b10ae4b5ebd73f924 (patch)
tree0ed5715723a4dad99f9b75d6207353d1e3ec19af /src/main.c
parent7b90c29f1fd7f685d883ef6c0be75c46ec495a34 (diff)
Made sure the server has everything required to run.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 1b50615..7d49ba6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -303,8 +303,8 @@ int main(int argc, char **argv)
set_log_verbosity(verbosity);
- if (!load_all_basic_components())
- return EXIT_FAILURE;
+ if (!load_all_core_components(true))
+ goto done;
/* Création de l'interface */
@@ -449,14 +449,14 @@ int main(int argc, char **argv)
failed_to_load_editor:
- unload_all_basic_components();
-
- done:
+ unload_all_core_components(true);
#ifdef TRACK_GOBJECT_LEAKS
dump_remaining_gtypes();
#endif
+ done:
+
return result;
}