[asterisk-commits] dlee: branch dlee/stasis-cache-split r394231 - /team/dlee/stasis-cache-split/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 12 15:43:38 CDT 2013


Author: dlee
Date: Fri Jul 12 15:43:36 2013
New Revision: 394231

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=394231
Log:
s/atext/cleanup/ to avoid core stop now problems

Modified:
    team/dlee/stasis-cache-split/main/stasis_endpoints.c

Modified: team/dlee/stasis-cache-split/main/stasis_endpoints.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-cache-split/main/stasis_endpoints.c?view=diff&rev=394231&r1=394230&r2=394231
==============================================================================
--- team/dlee/stasis-cache-split/main/stasis_endpoints.c (original)
+++ team/dlee/stasis-cache-split/main/stasis_endpoints.c Fri Jul 12 15:43:36 2013
@@ -279,7 +279,7 @@
 	return ast_json_ref(json);
 }
 
-static void endpoints_stasis_shutdown(void)
+static void endpoints_stasis_cleanup(void)
 {
 	STASIS_MESSAGE_TYPE_CLEANUP(ast_endpoint_snapshot_type);
 	STASIS_MESSAGE_TYPE_CLEANUP(ast_endpoint_state_type);
@@ -291,7 +291,7 @@
 int ast_endpoint_stasis_init(void)
 {
 	int res = 0;
-	ast_register_atexit(endpoints_stasis_shutdown);
+	ast_register_cleanup(endpoints_stasis_cleanup);
 
 	endpoint_cache_all = stasis_cache_all_create("endpoint_topic_all",
 		endpoint_snapshot_get_id);




More information about the asterisk-commits mailing list