diff options
Diffstat (limited to 'main/manager_endpoints.c')
-rw-r--r-- | main/manager_endpoints.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager_endpoints.c b/main/manager_endpoints.c index b5f5b31c2..0d0866016 100644 --- a/main/manager_endpoints.c +++ b/main/manager_endpoints.c @@ -61,7 +61,7 @@ int manager_endpoints_init(void) return 0; } - ast_register_atexit(manager_endpoints_shutdown); + ast_register_cleanup(manager_endpoints_shutdown); endpoint_topic = ast_endpoint_topic_all_cached(); if (!endpoint_topic) { |