[svn-commits] rmudgett: branch 1.8 r377708 - /branches/1.8/main/event.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 10 18:52:40 CST 2012


Author: rmudgett
Date: Mon Dec 10 18:52:37 2012
New Revision: 377708

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=377708
Log:
Cleanup event on exit.

* Cleanup CLI commands on exit.

(issue ASTERISK-20649)
Reported by: Corey Farrell
Patches:
      event_shutdown-10-only.patch (license #5909) patch uploaded by Corey Farrell
      event_shutdown-1_8-11-trunk.patch (license #5909) patch uploaded by Corey Farrell

Modified:
    branches/1.8/main/event.c

Modified: branches/1.8/main/event.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/event.c?view=diff&rev=377708&r1=377707&r2=377708
==============================================================================
--- branches/1.8/main/event.c (original)
+++ branches/1.8/main/event.c Mon Dec 10 18:52:37 2012
@@ -1783,6 +1783,8 @@
 	struct ast_event_sub *sub;
 	int i;
 
+	ast_cli_unregister_multiple(event_cli, ARRAY_LEN(event_cli));
+
 	if (event_dispatcher) {
 		event_dispatcher = ast_taskprocessor_unreference(event_dispatcher);
 	}




More information about the svn-commits mailing list