mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Also unlock the "other" channel, when returning, due to glare.
(closes issue #15787) Reported by: tim_ringenbach Patches: chan_local.diff uploaded by tim ringenbach (license 540) Tested by: tim_ringenbach git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@214940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -204,6 +204,9 @@ static int local_queue_frame(struct local_pvt *p, int isoutbound, struct ast_fra
|
||||
return and destroy p. */
|
||||
ast_mutex_unlock(&p->lock);
|
||||
p = local_pvt_destroy(p);
|
||||
if (other) {
|
||||
ast_channel_unlock(other);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user