File tree 1 file changed +0
-12
lines changed
sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/session
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1591,21 +1591,9 @@ public void onTerminatedState() {
1591
1591
//switch to readyToInvalidate state here
1592
1592
this .setReadyToInvalidate (true );
1593
1593
1594
- //make sure linked session is terminated as well so is
1595
- //not left on memory
1596
- MobicentsSipSession linkedSession = null ;
1597
- if (getB2buaHelper () != null ) {
1598
- //save ref to linkedSession for later
1599
- linkedSession = (MobicentsSipSession ) getB2buaHelper ().getLinkedSession (this );
1600
- }
1601
1594
//evaluate if we can proceed to invalidation
1602
1595
onReadyToInvalidate ();
1603
1596
1604
- //invoke after actual invalidation to prevent infinite loop
1605
- if (linkedSession != null ) {
1606
- logger .debug ("terminating linked session." );
1607
- linkedSession .onTerminatedState ();
1608
- }
1609
1597
1610
1598
if (!this .isValid && this .parentSession != null ) {
1611
1599
//Since there is a parent session, and since the current derived sip session
You can’t perform that action at this time.
0 commit comments