[asterisk-commits] kmoore: branch kmoore/stasis-http_sounds r389730 - /team/kmoore/stasis-http_s...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 24 13:44:19 CDT 2013


Author: kmoore
Date: Fri May 24 13:44:15 2013
New Revision: 389730

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389730
Log:
Make sure the message router gets unsubscribed

Modified:
    team/kmoore/stasis-http_sounds/main/sounds_index.c

Modified: team/kmoore/stasis-http_sounds/main/sounds_index.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis-http_sounds/main/sounds_index.c?view=diff&rev=389730&r1=389729&r2=389730
==============================================================================
--- team/kmoore/stasis-http_sounds/main/sounds_index.c (original)
+++ team/kmoore/stasis-http_sounds/main/sounds_index.c Fri May 24 13:44:15 2013
@@ -265,6 +265,8 @@
 
 static void sounds_cleanup(void)
 {
+	stasis_message_router_unsubscribe(sounds_system_router);
+	sounds_system_router = NULL;
 	ast_cli_unregister_multiple(cli_sounds, ARRAY_LEN(cli_sounds));
 	ao2_cleanup(sounds_index);
 	sounds_index = NULL;




More information about the asterisk-commits mailing list