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/branches/1.4@89571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-11-26 14:41:03 +00:00
parent 095108273b
commit 1884c603d6

View File

@@ -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);
}