mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user