[asterisk-commits] rmudgett: trunk r377711 - in /trunk: ./ main/event.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 10 19:04:53 CST 2012
Author: rmudgett
Date: Mon Dec 10 19:04:50 2012
New Revision: 377711
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=377711
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
........
Merged revisions 377708 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 377709 from http://svn.asterisk.org/svn/asterisk/branches/10
........
Merged revisions 377710 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
trunk/ (props changed)
trunk/main/event.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: trunk/main/event.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/event.c?view=diff&rev=377711&r1=377710&r2=377711
==============================================================================
--- trunk/main/event.c (original)
+++ trunk/main/event.c Mon Dec 10 19:04:50 2012
@@ -1817,6 +1817,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 asterisk-commits
mailing list