diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-14 13:29:15 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-24 07:49:39 -0500 |
commit | e067cb426a91c58814812bbc883ff7e3e819a3c1 (patch) | |
tree | be886bf785ebfce8fbc582b8bd24f59a69cd42cd | |
parent | 63b7dabdea6c25cba6604af5d9340799636985b3 (diff) | |
download | tor-e067cb426a91c58814812bbc883ff7e3e819a3c1.tar.gz tor-e067cb426a91c58814812bbc883ff7e3e819a3c1.zip |
Move process subsystem after evloop.
Process uses evloop, and so should be initialized after it.
-rw-r--r-- | src/app/main/subsystem_list.c | 2 | ||||
-rw-r--r-- | 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 06f39df2e6..e32083537f 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 283064cbfe..015ffadead 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 |