aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/gnunet-service-ats.c')
-rw-r--r--src/ats/gnunet-service-ats.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ats/gnunet-service-ats.c b/src/ats/gnunet-service-ats.c
index 7b8dfe222..045a5bb67 100644
--- a/src/ats/gnunet-service-ats.c
+++ b/src/ats/gnunet-service-ats.c
@@ -138,9 +138,6 @@ cleanup_task (void *cls)
138 GAS_performance_done (); 138 GAS_performance_done ();
139 GAS_preference_done (); 139 GAS_preference_done ();
140 GAS_reservations_done (); 140 GAS_reservations_done ();
141 GNUNET_SERVER_disconnect_notify_cancel (GSA_server,
142 &client_disconnect_handler,
143 NULL);
144 if (NULL != GSA_stats) 141 if (NULL != GSA_stats)
145 { 142 {
146 GNUNET_STATISTICS_destroy (GSA_stats, GNUNET_NO); 143 GNUNET_STATISTICS_destroy (GSA_stats, GNUNET_NO);
@@ -221,9 +218,8 @@ run (void *cls,
221 &client_disconnect_handler, 218 &client_disconnect_handler,
222 NULL); 219 NULL);
223 GNUNET_SERVER_add_handlers (server, handlers); 220 GNUNET_SERVER_add_handlers (server, handlers);
224 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, 221 GNUNET_SCHEDULER_add_shutdown (&cleanup_task,
225 &cleanup_task, 222 NULL);
226 NULL);
227} 223}
228 224
229 225