[asterisk-commits] rmudgett: branch 1.8 r377037 - /branches/1.8/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 3 11:05:43 CST 2012


Author: rmudgett
Date: Mon Dec  3 11:05:40 2012
New Revision: 377037

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=377037
Log:
Fix CCSS CLI commands and logger level not unregistered.

(issue ASTERISK-20649)
Reported by: Corey Farrell
Patches:
      ccss-cleanup-all.patch (license #5909) patch uploaded by Corey Farrell

Modified:
    branches/1.8/main/ccss.c

Modified: branches/1.8/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/ccss.c?view=diff&rev=377037&r1=377036&r2=377037
==============================================================================
--- branches/1.8/main/ccss.c (original)
+++ branches/1.8/main/ccss.c Mon Dec  3 11:05:40 2012
@@ -4317,6 +4317,8 @@
 	ast_cc_monitor_unregister(&generic_monitor_cbs);
 	ast_unregister_application(cccancel_app);
 	ast_unregister_application(ccreq_app);
+	ast_logger_unregister_level(CC_LOGGER_LEVEL_NAME);
+	ast_cli_unregister_multiple(cc_cli, ARRAY_LEN(cc_cli));
 
 	if (cc_sched_thread) {
 		cc_sched_thread = ast_sched_thread_destroy(cc_sched_thread);




More information about the asterisk-commits mailing list