< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] Do I need to delete the handle in onTerminated ?


I using the ClientInviteSessionHandle->end(); to terminage the established call.
use the mDum.end(DialogSetId) to cancel for a UAC INVITE (do not received 101 yet), maybe this is the issue.
 

 
On Thu, Dec 11, 2008 at 10:33 PM, Scott Godin <slgodin@xxxxxxxxxxxx> wrote:

No the InviteSession will clean itself up if it is ended correctly:  https://www.resiprocate.org/DUM_Ending_an_Invite_Session

 

From: resiprocate-users-bounces@xxxxxxxxxxxxxxx [mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxx] On Behalf Of Karlsson
Sent: Thursday, December 11, 2008 6:22 AM
To: resiprocate-users
Subject: [reSIProcate-users] Do I need to delete the handle in onTerminated ?

 

Seems my application has memory leaks, do I need to release the resource of InviteSessionHandle  with this callback ?

 

void UserAgent::onTerminated(InviteSessionHandle h, InviteSessionHandler::TerminatedReason reason, const SipMessage* related/* =0 */)

 

 

Thanks