commit d21c0aab5fcf1ae6db061cda8d02ba114986f694
parent e8da0574c363469f53583b8f692e4fb71469f5e4
Author: Joris Vink <joris@coders.se>
Date: Fri, 6 Jan 2023 10:54:07 +0100
Call kore_tls_init() earlier at startup.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kore.c b/src/kore.c
@@ -182,6 +182,7 @@ main(int argc, char *argv[])
kore_mem_init();
kore_msg_init();
kore_log_init();
+ kore_tls_init();
kore_progname = kore_strdup(argv[0]);
kore_proctitle_setup();
@@ -233,7 +234,6 @@ main(int argc, char *argv[])
#endif
kore_domain_init();
kore_module_init();
- kore_tls_init();
#if !defined(KORE_SINGLE_BINARY) && !defined(KORE_USE_PYTHON)
if (config_file == NULL)