diff -r f979ecb2b13e -r 42814f902fe6 calendarui/controller/src/calennotifier.cpp --- a/calendarui/controller/src/calennotifier.cpp Tue Feb 02 10:12:19 2010 +0200 +++ b/calendarui/controller/src/calennotifier.cpp Fri Feb 19 22:49:53 2010 +0200 @@ -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;