watchdog/src/watchdog.cpp
changeset 54 a3cc46f37772
parent 28 c461c7fa72c2
equal deleted inserted replaced
36:aa5a574040a4 54:a3cc46f37772
   159 // Destructor
   159 // Destructor
   160 // ---------------------------------------------------------------------------
   160 // ---------------------------------------------------------------------------
   161 //
   161 //
   162 CWatchdog::~CWatchdog()
   162 CWatchdog::~CWatchdog()
   163     {
   163     {
   164     delete iShutdownObserver;    
   164     delete iShutdownObserver;
   165     delete iSelfShutdownObserver;
   165     delete iSelfShutdownObserver;
   166     Cancel();
   166     Cancel();
   167     }
   167     }
   168 
   168 
   169 // ---------------------------------------------------------------------------
   169 // ---------------------------------------------------------------------------
   302         {
   302         {
   303         TRAP( err, MainL() );
   303         TRAP( err, MainL() );
   304         }
   304         }
   305   
   305   
   306     delete cleanupStack;
   306     delete cleanupStack;
       
   307     cleanupStack = NULL;
   307     return err;
   308     return err;
   308     }
   309     }