From b5461bdd192890d8f07b8f2fa16995fb5d34c63e Mon Sep 17 00:00:00 2001 From: nikunis Date: Mon, 13 Nov 2023 18:39:56 +0500 Subject: [PATCH] fix --- sources/sighandler.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/sighandler.c b/sources/sighandler.c index 9f1e00bc5..77d43864a 100644 --- a/sources/sighandler.c +++ b/sources/sighandler.c @@ -55,10 +55,11 @@ od_attribute_noreturn() void od_system_shutdown(od_system_t *system, od_worker_pool_stop(worker_pool); - od_router_free(system->global->router); /* Prevent OpenSSL usage during deinitialization */ od_worker_pool_wait(); + od_router_free(system->global->router); + od_extention_free(&instance->logger, system->global->extentions); od_system_cleanup(system);