calendarui/controller/src/calennotifier.cpp
branchRCL_3
changeset 31 97232defd20e
parent 30 bd7edf625bdd
equal deleted inserted replaced
30:bd7edf625bdd 31:97232defd20e
    77         {
    77         {
    78         iHandlers[i].iHashSet.Close();
    78         iHandlers[i].iHashSet.Close();
    79         }
    79         }
    80     
    80     
    81     iHandlers.Close();
    81     iHandlers.Close();
    82     
    82   
    83     iBroadcastQueue.Close();
       
    84     
       
    85     
       
    86     if( iFilnameDeleted )
    83     if( iFilnameDeleted )
    87         {
    84         {
    88         delete iFilnameDeleted;
    85         delete iFilnameDeleted;
    89         iFilnameDeleted = NULL;
    86         iFilnameDeleted = NULL;
    90         }
    87         }
   126         {
   123         {
   127         // stop listening for calendar file change notifications
   124         // stop listening for calendar file change notifications
   128         TRAP_IGNORE(iGlobalData->CalSessionL().StopFileChangeNotification());
   125         TRAP_IGNORE(iGlobalData->CalSessionL().StopFileChangeNotification());
   129         iGlobalData->Release();
   126         iGlobalData->Release();
   130         }
   127         }
   131 	TRACE_EXIT_POINT;
   128     
       
   129     iBroadcastQueue.Close();
       
   130 
       
   131     TRACE_EXIT_POINT;
   132 	}
   132 	}
   133 
   133 
   134 // ----------------------------------------------------------------------------
   134 // ----------------------------------------------------------------------------
   135 // CCalenNotifier::ConstructL
   135 // CCalenNotifier::ConstructL
   136 // Symbian 2nd phase of construction.
   136 // Symbian 2nd phase of construction.