diff -r 8d6dd3663aad -r 7d78dc22f397 calendarui/controller/src/calennotifier.cpp --- a/calendarui/controller/src/calennotifier.cpp Mon Mar 08 21:43:23 2010 +0000 +++ b/calendarui/controller/src/calennotifier.cpp Sun Mar 14 13:09:26 2010 +0000 @@ -80,6 +80,8 @@ // Release the global data if( iGlobalData ) { + // stop listening for calendar file change notifications + iGlobalData->CalSessionL().StopFileChangeNotification(); iGlobalData->Release(); } @@ -109,8 +111,7 @@ iHandlers.Reset(); iBroadcastQueue.Reset(); - // stop listening for calendar file change notifications - iGlobalData->CalSessionL().StopFileChangeNotification(); + iAsyncCallback->Cancel(); delete iAsyncCallback;