From: Alan T. DeKok Date: Tue, 25 Jul 2017 18:52:20 +0000 (-0400) Subject: destroy the scheduler before exiting X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc6fb097742d588a8acbef2db33a8d6776dcdc44;p=thirdparty%2Ffreeradius-server.git destroy the scheduler before exiting --- diff --git a/src/main/radiusd.c b/src/main/radiusd.c index 7446c84318d..9a1c01b9075 100644 --- a/src/main/radiusd.c +++ b/src/main/radiusd.c @@ -757,6 +757,11 @@ int main(int argc, char *argv[]) */ if (main_config.daemonize) unlink(main_config.pid_file); + /* + * Stop the scheduler + */ + (void) fr_schedule_destroy(sc); + /* * Free memory in an explicit and consistent order *