Avoid destroying a locked isup call mutex.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3014 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
105963545b
commit
c4c41e16e3
|
@ -1667,6 +1667,7 @@ bool SS7ISUPCall::sendEvent(SignallingEvent* event)
|
|||
if (!event)
|
||||
return false;
|
||||
if (m_terminate || m_state == Released) {
|
||||
mylock.drop();
|
||||
delete event;
|
||||
return false;
|
||||
}
|
||||
|
@ -1732,6 +1733,7 @@ bool SS7ISUPCall::sendEvent(SignallingEvent* event)
|
|||
}
|
||||
XDebug(isup(),DebugAll,"Call(%u). Event (%p,'%s') sent. Result: %s [%p]",
|
||||
id(),event,event->name(),String::boolText(result),this);
|
||||
mylock.drop();
|
||||
delete event;
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue