mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add features (incomplete, highly experimental), fix DundiLookup app, debug improvements (bug #2800)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -335,6 +335,9 @@ static int local_hangup(struct ast_channel *ast)
|
||||
cur = cur->next;
|
||||
}
|
||||
ast_mutex_unlock(&locallock);
|
||||
/* Grab / release lock just in case */
|
||||
ast_mutex_lock(&p->lock);
|
||||
ast_mutex_unlock(&p->lock);
|
||||
/* And destroy */
|
||||
if (!glaredetect) {
|
||||
ast_mutex_destroy(&p->lock);
|
||||
|
Reference in New Issue
Block a user