From: Joshua Colp Date: Mon, 26 Nov 2007 14:42:57 +0000 (+0000) Subject: Merged revisions 89571 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~672 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5303abd58d1fa10d076f53580f3924fd200039c1;p=thirdparty%2Fasterisk.git Merged revisions 89571 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89571 | file | 2007-11-26 10:41:03 -0400 (Mon, 26 Nov 2007) | 4 lines When unloading app_meetme destroy any auto created contexts created by SLA. (closes issue #11367) Reported by: eliel ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89572 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index c5a4a9efb5..3c9798ad1f 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -5191,6 +5191,9 @@ static void sla_destroy(void) 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); }