calendarui/controller/src/calennotifier.cpp
branchRCL_3
changeset 5 42814f902fe6
parent 0 f979ecb2b13e
child 12 38571fd2a704
equal deleted inserted replaced
0:f979ecb2b13e 5:42814f902fe6
    78     delete iEComWatcher;
    78     delete iEComWatcher;
    79 
    79 
    80     // Release the global data
    80     // Release the global data
    81     if( iGlobalData )
    81     if( iGlobalData )
    82         {
    82         {
       
    83         // stop listening for calendar file change notifications
       
    84         iGlobalData->CalSessionL().StopFileChangeNotification();
    83         iGlobalData->Release();
    85         iGlobalData->Release();
    84         }
    86         }
    85 
    87 
    86     if( iSetting )
    88     if( iSetting )
    87         {
    89         {
   107         }
   109         }
   108     
   110     
   109     iHandlers.Reset();
   111     iHandlers.Reset();
   110     iBroadcastQueue.Reset();
   112     iBroadcastQueue.Reset();
   111 
   113 
   112 	// stop listening for calendar file change notifications
   114 	
   113 	iGlobalData->CalSessionL().StopFileChangeNotification();
       
   114 	
   115 	
   115 	iAsyncCallback->Cancel();
   116 	iAsyncCallback->Cancel();
   116 	delete iAsyncCallback;
   117 	delete iAsyncCallback;
   117 	
   118 	
   118 	delete iFilnameDeleted;
   119 	delete iFilnameDeleted;