Please allways CC the list!
-Raphael.
-------- Original Message --------
Subject: RE: [Sems] Destroying session (SEMS 1.2.1)
Date: Thu, 30 Sep 2010 14:50:57 +0400
From: Антон Загорский <[email protected]>
To: 'Raphael Coeffic' <[email protected]>
Beware that the handlers are deleted in ~AmSession() if their "destroy"
flag is true:
Sic! This was the devil place =)
Thanks a lot.
AmSession::~AmSession()
{
for(vector<AmSessionEventHandler*>::iterator evh = ev_handlers.begin();
evh != ev_handlers.end(); evh++) {
if((*evh)->destroy)
delete *evh;
}
#ifdef WITH_ZRTP
AmZRTP::freeSession(zrtp_session);
#endif
DBG("AmSession destructor finished\n");
}
Regards
Raphael.
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems