From afe0f98db618dcdee49fbf125a7358099eb990b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Mon, 28 Mar 2022 23:05:29 +0200 Subject: [PATCH] WIP: Remove isc_app cruft (not really used) from nstest.c --- lib/ns/tests/nstest.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/ns/tests/nstest.c b/lib/ns/tests/nstest.c index 122db814f3..cc743c3cae 100644 --- a/lib/ns/tests/nstest.c +++ b/lib/ns/tests/nstest.c @@ -64,7 +64,6 @@ dns_dispatchmgr_t *dispatchmgr = NULL; ns_clientmgr_t *clientmgr = NULL; ns_interfacemgr_t *interfacemgr = NULL; ns_server_t *sctx = NULL; -bool app_running = false; bool debug_mem_record = true; static atomic_bool run_managers = false; @@ -202,10 +201,6 @@ cleanup_managers(void) { isc_managers_destroy(netmgr == NULL ? NULL : &netmgr, taskmgr == NULL ? NULL : &taskmgr, timermgr == NULL ? NULL : &timermgr); - - if (app_running) { - isc_app_finish(); - } } static void @@ -280,7 +275,6 @@ ns_test_begin(FILE *logfile, bool start_managers) { isc_resource_openfiles, files); } } - CHECK(isc_app_start()); } if (debug_mem_record) { isc_mem_debugging |= ISC_MEM_DEBUGRECORD;