calendarui/globaldata/src/calenglobaldata.cpp
branchRCL_3
changeset 25 bf573002ff72
parent 20 9c5b1510919f
child 27 aba12c885d83
equal deleted inserted replaced
20:9c5b1510919f 25:bf573002ff72
   328    if (iGlobalDataOwnsCalSession)
   328    if (iGlobalDataOwnsCalSession)
   329         {
   329         {
   330         delete iCalSession;
   330         delete iCalSession;
   331         }
   331         }
   332     
   332     
       
   333    if (iCalendarInfoList.Count())
       
   334        {
       
   335        iCalendarInfoList.ResetAndDestroy();
       
   336        }
       
   337    
   333     if( iFileMappingArray.Count() )
   338     if( iFileMappingArray.Count() )
   334         {
   339         {
   335         iFileMappingArray.ResetAndDestroy();
   340         iFileMappingArray.ResetAndDestroy();
   336         }
   341         }
   337     
   342     
   338     iKeyQueue.Reset();
   343     iKeyQueue.Reset();
   339     
   344     
   340     iHashDbidIndexMap.Close();
   345     iHashDbidIndexMap.Close();
   341 
   346 
   342     Dll::SetTls(NULL);
   347     Dll::SetTls(NULL);
   343 
       
   344     if (iCalendarInfoList.Count())
       
   345         {
       
   346         iCalendarInfoList.ResetAndDestroy();
       
   347         }
       
   348 
   348 
   349     if (iCalendarsSession)
   349     if (iCalendarsSession)
   350         {
   350         {
   351         delete iCalendarsSession;
   351         delete iCalendarsSession;
   352         iCalendarsSession = NULL;
   352         iCalendarsSession = NULL;