imagehandlingutilities/thumbnailmanager/tmcommon/src/tmactivitymanager.cpp
branchRCL_3
changeset 28 ff2fb7658ff7
parent 24 f0aa341a25bf
child 40 6257223ede8a
--- a/imagehandlingutilities/thumbnailmanager/tmcommon/src/tmactivitymanager.cpp	Wed Jun 09 10:01:32 2010 +0300
+++ b/imagehandlingutilities/thumbnailmanager/tmcommon/src/tmactivitymanager.cpp	Mon Jun 21 16:00:46 2010 +0300
@@ -53,12 +53,15 @@
     {
     TN_DEBUG1( "CTMActivityManager::~CTMActivityManager()");
     
+    iObserver = NULL;
+    Cancel();
+    
 #ifdef MONITOR_LIGHTS
     delete iLight;
     iLight = NULL;
 #endif
-    
-    Cancel();
+
+    iTimer.Cancel();
     iTimer.Close();
     }