emailservices/emailstore/base_plugin/src/baseplugindelayedops.cpp
changeset 48 10eaf342f539
parent 47 f83bd4ae1fe3
child 56 15bc1d5d6267
equal deleted inserted replaced
47:f83bd4ae1fe3 48:10eaf342f539
    70             "Error while executing delayed operation: %d.", err );
    70             "Error while executing delayed operation: %d.", err );
    71         }
    71         }
    72     
    72     
    73     //self-destroy.
    73     //self-destroy.
    74     iManager->DequeueOp( *this );
    74     iManager->DequeueOp( *this );
       
    75     
       
    76     //Remove this from iDelayedOpReqs as well.
       
    77     for ( TInt i = 0; i < iPlugin->iDelayedOpReqs.Count(); i++ )
       
    78         {
       
    79         if ( iPlugin->iDelayedOpReqs[i] == this )
       
    80             {
       
    81             iPlugin->iDelayedOpReqs.Remove( i );
       
    82             break;
       
    83             }
       
    84         }
    75     delete this;
    85     delete this;
    76     }
    86     }
    77     
    87     
    78 /**
    88 /**
    79  * 
    89  *