Revision: 15659
Author: [email protected]
Date: Tue Dec  7 08:47:44 2010
Log: removing ref to the dialog app data on dialog terminated
http://code.google.com/p/mobicents/source/detail?r=15659

Modified:
/trunk/servers/sip-servlets/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplicationDispatcherImpl.java

=======================================
--- /trunk/servers/sip-servlets/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplicationDispatcherImpl.java Mon Nov 22 09:38:32 2010 +++ /trunk/servers/sip-servlets/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplicationDispatcherImpl.java Tue Dec 7 08:47:44 2010
@@ -872,7 +872,8 @@
                                                
tryToInvalidateSession(sipSessionKey, false);
                                        }
                                        dialogAppData.cleanUp();
-//                                     dialog.setApplicationData(null);
+ // since the stack doesn't nullify the app data, we need to do it to let go of the refs
+                                       dialog.setApplicationData(null);
                                }
                                if(!appDataFound && logger.isDebugEnabled()) {
logger.debug("no application data for this dialog " + dialog.getDialogId());

Reply via email to