diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-26 14:41:03 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-26 14:41:03 +0000 |
commit | 2b26cd01acf88ee620ba45cc3df43040ba1124a6 (patch) | |
tree | 0c775754c6b94286339c8e54e7d5cded37a39b04 /apps | |
parent | e2576b4a0635ab0499ff83205f8c13540076e11e (diff) |
When unloading app_meetme destroy any auto created contexts created by SLA.
(closes issue #11367)
Reported by: eliel
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89571 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_meetme.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 63cc0f346..16fcfd8af 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -4482,6 +4482,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); } |