[reSIProcate] Dum shutdown question
Kovar, William (Bill)
bkovar at avaya.com
Thu Apr 5 09:18:36 CDT 2007
I'm seeing a problem where the destructor for DUM is not being called
when I think I'm destroying it. I am creating several UAs with DUM all
attached to the same SipStack. My construction and destruction is as
follows:
CUserAgent::CUserAgent()
{
mDum = new DialogUsageManager(*(m_pSipSwitch->TheStack));
m_dumThread = new DumThread(*mDum);
}
CUserAgent::~CUserAgent()
{
if (m_dumThread) {
m_dumThread->shutdown();
m_dumThread->join();
delete m_dumThread;
}
if (mDum) {
delete mDum;
}
}
What have I missed?
Bill Kovar
bkovar at avaya.com
Avaya, Inc.
(732) 852-2609
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070405/de84451e/attachment.htm>
More information about the resiprocate-devel
mailing list