summaryrefslogtreecommitdiff
path: root/main/astobj2_container.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/astobj2_container.c')
-rw-r--r--main/astobj2_container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/astobj2_container.c b/main/astobj2_container.c
index 4d4e4749d..dc6f5e5c5 100644
--- a/main/astobj2_container.c
+++ b/main/astobj2_container.c
@@ -1211,7 +1211,7 @@ int container_init(void)
}
ast_cli_register_multiple(cli_astobj2, ARRAY_LEN(cli_astobj2));
- ast_register_atexit(container_cleanup);
+ ast_register_cleanup(container_cleanup);
#endif /* defined(AO2_DEBUG) */
return 0;