Test if locking of the H.323 connection succeeded (fails during cleanup).
git-svn-id: http://voip.null.ro/svn/yate@4294 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
b1cba4d938
commit
19c82b5bd6
1 changed files with 2 additions and 1 deletions
|
@ -1254,7 +1254,8 @@ bool YateH323Connection::adjustCapabilities()
|
|||
// remote has a list of supported codecs - remove unsupported capabilities
|
||||
bool nocodecs = true;
|
||||
bool changed = false;
|
||||
Lock();
|
||||
if (!Lock())
|
||||
return false;
|
||||
for (int i = 0; i < localCapabilities.GetSize(); i++) {
|
||||
const char* format = 0;
|
||||
String fname;
|
||||
|
|
Loading…
Reference in a new issue