[asterisk-commits] file: branch 1.4 r89571 - /branches/1.4/apps/app_meetme.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Nov 26 08:41:03 CST 2007
Author: file
Date: Mon Nov 26 08:41:03 2007
New Revision: 89571
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89571
Log:
When unloading app_meetme destroy any auto created contexts created by SLA.
(closes issue #11367)
Reported by: eliel
Modified:
branches/1.4/apps/app_meetme.c
Modified: branches/1.4/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_meetme.c?view=diff&rev=89571&r1=89570&r2=89571
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Mon Nov 26 08:41:03 2007
@@ -4482,6 +4482,9 @@
pthread_join(sla.thread, NULL);
}
+ /* Drop any created contexts from the dialplan */
+ ast_context_destroy(NULL, sla_registrar);
+
ast_mutex_destroy(&sla.lock);
ast_cond_destroy(&sla.cond);
}
More information about the asterisk-commits
mailing list