mtpdataproviders/mtpimagedp/src/cmtpimagedpthumbnailcreator.cpp
branchRCL_3
changeset 45 74aa6861c87d
parent 43 4a793f564d72
child 58 142dacf7b30e
equal deleted inserted replaced
43:4a793f564d72 45:74aa6861c87d
    66     delete iScaler;
    66     delete iScaler;
    67 #endif
    67 #endif
    68     delete iBitmap;  
    68     delete iBitmap;  
    69     delete iObjectSource;
    69     delete iObjectSource;
    70     delete iThumbMgr;
    70     delete iThumbMgr;
    71     if(iActiveSchedulerWait->IsStarted())
    71     if(iActiveSchedulerWait != NULL && iActiveSchedulerWait->IsStarted())
    72         {
    72         {
    73         *iCreationErr = KErrNotReady;
    73         *iCreationErr = KErrNotReady;
    74         iActiveSchedulerWait->AsyncStop();
    74         iActiveSchedulerWait->AsyncStop();
    75         }
    75         }
    76     delete iActiveSchedulerWait;
    76     delete iActiveSchedulerWait;