summaryrefslogtreecommitdiff
path: root/main/features.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/features.c')
-rw-r--r--main/features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/features.c b/main/features.c
index 870c57f1a..deb28ee0f 100644
--- a/main/features.c
+++ b/main/features.c
@@ -1185,7 +1185,7 @@ int ast_features_init(void)
if (res) {
features_shutdown();
} else {
- ast_register_atexit(features_shutdown);
+ ast_register_cleanup(features_shutdown);
}
return res;