metadataengine/server/src/mdsgarbagecollector.cpp
changeset 28 c461c7fa72c2
parent 0 c53acadfccc6
equal deleted inserted replaced
25:8e4539ab1889 28:c461c7fa72c2
    97 		{
    97 		{
    98 		const TBool startAgain = iObserver.StartGarbageCollectionL();
    98 		const TBool startAgain = iObserver.StartGarbageCollectionL();
    99 
    99 
   100 		if ( startAgain )
   100 		if ( startAgain )
   101 			{
   101 			{
   102 			iTimer.After( iStatus, iDelay ); // start timer
   102 		    if( iNewDelay.Int() > 0 )
   103 			SetActive();
   103 		        {
   104 			}
   104                 iDelay = iNewDelay;
   105 		else if ( iNewDelay.Int() > 0 )
   105                 iNewDelay = 0;
   106 			{
   106 		        }
   107 			iDelay = iNewDelay;
   107             iTimer.After( iStatus, iDelay ); // start timer
   108 			iNewDelay = 0;
       
   109 			iTimer.After( iStatus, iDelay ); // start timer
       
   110 			SetActive();
   108 			SetActive();
   111 			}
   109 			}
   112 		}
   110 		}
   113 	}
   111 	}
   114 
   112