Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaUnisikhin committed Nov 13, 2023
1 parent 7ff322d commit b5461bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/sighandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b5461bd

Please sign in to comment.