[asterisk-commits] dlee: branch dlee/shutdown-deux r389549 - /team/dlee/shutdown-deux/main/stasis.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 23 09:56:09 CDT 2013


Author: dlee
Date: Thu May 23 09:56:05 2013
New Revision: 389549

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389549
Log:
Fixed cleanup order of the message bus

Modified:
    team/dlee/shutdown-deux/main/stasis.c

Modified: team/dlee/shutdown-deux/main/stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/shutdown-deux/main/stasis.c?view=diff&rev=389549&r1=389548&r2=389549
==============================================================================
--- team/dlee/shutdown-deux/main/stasis.c (original)
+++ team/dlee/shutdown-deux/main/stasis.c Thu May 23 09:56:05 2013
@@ -650,8 +650,9 @@
 		.max_size = 200
 	};
 
+	/* Be sure the types are cleaned up after the message bus */
+	ast_register_cleanup(stasis_cleanup);
 	ast_register_atexit(stasis_exit);
-	ast_register_cleanup(stasis_cleanup);
 
 	if (pool) {
 		ast_log(LOG_ERROR, "Stasis double-initialized\n");




More information about the asterisk-commits mailing list