{
result r = E_SUCCESS;
- r = __messageMap.Construct();
-
- if (r == E_SUCCESS)
- {
- r = __msgMutex.Create();
- }
-
__pTempCbsChannelList = new (std::nothrow) ArrayList();
SysTryReturnResult(NID_MSG, __pTempCbsChannelList != null, E_OUT_OF_MEMORY, "memory allocation failed");
r = __pTempCbsChannelList->Construct();
__msgHandle = 0;
}
- if (__messageMap.GetCount())
- {
- __messageMap.RemoveAll(true);
- }
-
if (__cbsSettingsHandle)
{
msg_release_struct(&__cbsSettingsHandle);