Drop driver lock before displaying the media set failure message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2748 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
3db701bda5
commit
402fbf2d1f
|
@ -2684,6 +2684,7 @@ bool ClientChannel::setMedia(bool open, bool replace)
|
|||
if (!(getSource() || m_muted))
|
||||
Debug(this,DebugNote,"Failed to set data source [%p]",this);
|
||||
bool ok = ((m_muted || getSource()) && getConsumer());
|
||||
lock.drop();
|
||||
if (!ok && Client::self()) {
|
||||
String tmp = "Failed to open media channel(s)";
|
||||
Client::self()->setStatusLocked(tmp);
|
||||
|
|
Loading…
Reference in New Issue