]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
destroy the scheduler before exiting
authorAlan T. DeKok <aland@freeradius.org>
Tue, 25 Jul 2017 18:52:20 +0000 (14:52 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 25 Jul 2017 19:53:04 +0000 (15:53 -0400)
src/main/radiusd.c

index 7446c84318d64a94e7bec90dda3cc8c494e11396..9a1c01b9075e058018be415d9a1b7a17116f00cf 100644 (file)
@@ -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
         *