aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-05-01 15:36:18 -0400
committerNick Mathewson <nickm@torproject.org>2019-05-06 16:25:09 -0400
commitb394b5b2af7f38a5e66c9875d3a55be5af840933 (patch)
tree766acfa070d5d8af409e458bcb561189473e022a /src/app
parent2aa441b88e089c9aa650f25dd1b109bf14bc451d (diff)
downloadtor-b394b5b2af7f38a5e66c9875d3a55be5af840933.tar.gz
tor-b394b5b2af7f38a5e66c9875d3a55be5af840933.zip
Create a relay subsystem and move the shutdown functions there
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main/shutdown.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/app/main/shutdown.c b/src/app/main/shutdown.c
index c302ce455c..b8de0f37dc 100644
--- a/src/app/main/shutdown.c
+++ b/src/app/main/shutdown.c
@@ -47,17 +47,13 @@
#include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerlist.h"
-#include "feature/relay/dns.h"
#include "feature/relay/ext_orport.h"
-#include "feature/relay/onion_queue.h"
-#include "feature/relay/routerkeys.h"
#include "feature/rend/rendcache.h"
#include "feature/rend/rendclient.h"
#include "feature/stats/geoip_stats.h"
#include "feature/stats/rephist.h"
#include "lib/evloop/compat_libevent.h"
#include "lib/geoip/geoip.h"
-#include "src/feature/relay/router.h"
void evdns_shutdown(int);
@@ -127,8 +123,6 @@ tor_free_all(int postfork)
rend_cache_free_all();
rend_service_authorization_free_all();
rep_hist_free_all();
- dns_free_all();
- clear_pending_onions();
circuit_free_all();
circpad_machines_free();
entry_guards_free_all();
@@ -141,7 +135,6 @@ tor_free_all(int postfork)
nodelist_free_all();
microdesc_free_all();
routerparse_free_all();
- ext_orport_free_all();
control_free_all();
protover_free_all();
bridges_free_all();
@@ -155,8 +148,6 @@ tor_free_all(int postfork)
if (!postfork) {
config_free_all();
or_state_free_all();
- router_free_all();
- routerkeys_free_all();
policies_free_all();
}
if (!postfork) {