commit e067cb426a91c58814812bbc883ff7e3e819a3c1 Author: Nick Mathewson nickm@torproject.org Date: Fri Feb 14 13:29:15 2020 -0500
Move process subsystem after evloop.
Process uses evloop, and so should be initialized after it. --- src/app/main/subsystem_list.c | 2 +- src/lib/process/process_sys.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/main/subsystem_list.c b/src/app/main/subsystem_list.c index 06f39df2e..e32083537 100644 --- a/src/app/main/subsystem_list.c +++ b/src/app/main/subsystem_list.c @@ -53,9 +53,9 @@ const subsys_fns_t *tor_subsystems[] = { &sys_compress, &sys_network, &sys_tortls, - &sys_process,
&sys_evloop, + &sys_process,
&sys_mainloop, &sys_or, diff --git a/src/lib/process/process_sys.c b/src/lib/process/process_sys.c index 283064cbf..015ffadea 100644 --- a/src/lib/process/process_sys.c +++ b/src/lib/process/process_sys.c @@ -26,7 +26,7 @@ subsys_process_shutdown(void)
const subsys_fns_t sys_process = { .name = "process", - .level = -35, + .level = -18, .supported = true, .initialize = subsys_process_initialize, .shutdown = subsys_process_shutdown