summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentracker.c b/opentracker.c
index 2f2746d..644e99c 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -38,6 +38,7 @@
38#include "ot_stats.h" 38#include "ot_stats.h"
39#include "ot_tcp.h" 39#include "ot_tcp.h"
40#include "ot_udp.h" 40#include "ot_udp.h"
41#include "ot_worker.h"
41#include "trackerlogic.h" 42#include "trackerlogic.h"
42 43
43/* Globals */ 44/* Globals */
@@ -429,8 +430,7 @@ int main(int argc, char **argv) {
429 listen_start_udp_workers(); 430 listen_start_udp_workers();
430 431
431 server_mainloop(0); 432 server_mainloop(0);
432 tcp_workers_deinit(); 433 worker_stop_all();
433 udp_workers_deinit();
434 434
435 /* No thread is serving any more, so the teardown can run where a debugger 435 /* No thread is serving any more, so the teardown can run where a debugger
436 and the sanitizers can follow it */ 436 and the sanitizers can follow it */