b/f: terminate other leg only if existing

sayer/1.4-spce2.6
Stefan Sayer 16 years ago
parent 7eb35d41c3
commit 83179ccaf4

@ -310,7 +310,9 @@ void AmB2BSession::terminateLeg()
void AmB2BSession::terminateOtherLeg()
{
relayEvent(new B2BEvent(B2BTerminateLeg));
if (!other_id.empty())
relayEvent(new B2BEvent(B2BTerminateLeg));
clear_other();
}

Loading…
Cancel
Save