[asterisk-commits] moy: branch moy/mfcr2-1.2 r133173 - /team/moy/mfcr2-1.2/channels/chan_zap.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 23 14:50:42 CDT 2008
Author: moy
Date: Wed Jul 23 14:50:42 2008
New Revision: 133173
URL: http://svn.digium.com/view/asterisk?view=rev&rev=133173
Log:
fixed nasty deadlock due to my stupidity in zt_r2_on_call_disconnected
Modified:
team/moy/mfcr2-1.2/channels/chan_zap.c
Modified: team/moy/mfcr2-1.2/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/moy/mfcr2-1.2/channels/chan_zap.c?view=diff&rev=133173&r1=133172&r2=133173
==============================================================================
--- team/moy/mfcr2-1.2/channels/chan_zap.c (original)
+++ team/moy/mfcr2-1.2/channels/chan_zap.c Wed Jul 23 14:50:42 2008
@@ -1512,6 +1512,7 @@
p->owner->_softhangup |= AST_SOFTHANGUP_DEV;
}
} else {
+ ast_mutex_unlock(&p->lock);
/* no owner, therefore we can't use zt_hangup to disconnect, do it right now */
openr2_chan_disconnect_call(r2chan, OR2_CAUSE_NORMAL_CLEARING);
}
More information about the asterisk-commits
mailing list