diff -r 556534771396 -r d4d56f5e7c55 watchdog/src/cwdtimer.cpp --- a/watchdog/src/cwdtimer.cpp Mon Sep 20 12:35:47 2010 +0530 +++ b/watchdog/src/cwdtimer.cpp Tue Oct 05 13:15:12 2010 +0530 @@ -17,7 +17,6 @@ #include "CWDTimer.h" -#include "WatchDogCommon.h" #include "MWDTimerHandler.h" #include #include "OstTraceDefinitions.h" @@ -25,6 +24,7 @@ #include "cwdtimerTraces.h" #endif +#define MONITORING_DELAY 60000000 // Nano seconds to delay the monitored object // ----------------------------------------------------------------------------- // CWDTimer::NewL // ----------------------------------------------------------------------------- @@ -101,14 +101,11 @@ if( iStatus.Int() == KErrNone ) { TInt err = KErrNone; - TRAP ( err , iWDTimerHandler->HandleWDTimerL() ); - if ( err == KErrNone) - { - //start the timer - iTimer.After( iStatus , MONITORING_DELAY ); // Wait 60 seconds before checking the servers - SetActive(); - } + TRAP ( err , iWDTimerHandler->HandleWDTimerL() ); } + // clean the timer + Cancel(); + iTimer.Close(); } // -----------------------------------------------------------------------------