From: Richard Mudgett Date: Mon, 3 Dec 2012 17:06:44 +0000 (+0000) Subject: Fix CCSS CLI commands and logger level not unregistered. X-Git-Tag: 10.12.0-rc1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e01c0afb6cefc7b277a3e3be00be78fc2f8174b9;p=thirdparty%2Fasterisk.git 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 ........ Merged revisions 377037 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@377038 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/ccss.c b/main/ccss.c index 9c14fe1941..b7e8fcc1fa 100644 --- a/main/ccss.c +++ b/main/ccss.c @@ -4491,6 +4491,8 @@ static void cc_shutdown(void) 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_context) { ast_sched_context_destroy(cc_sched_context);