I was attempting to implement a Message Wating Indicator, but the
application kept crashing whenever I closed it.
I believe I found the reason why in SipRefreshManager.cpp in the
stopAllRefreshes() method.
It is calling stopRefresh(*dialogKey), followed immediately by
mRefreshes.removeReference(dialogKey) -- at which point it crashes
while accessing the Hash() method of dialogKey.
Reviewing stopRefresh() reveals this code that seems to do the same thing:
// Remove the state so we can release the lock
if(state)
{
mRefreshes.removeReference(state);
}
I commented out the extra removeReference() call in stopAllRefreshes()
and the crash is no longer occurring.
Thanks,
- Joshua Garvin
--
_______________________________________________________
Joshua Garvin, Engineering Manager
ProfitFuel - http://www.profitfuel.com - [EMAIL PROTECTED]
Work: 512-637-3010 - Cell: 512-773-2618 - Fax: 512-
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/