harvester/monitorplugins/fileplugin/src/filemonitorao.cpp
changeset 20 6dfc5f825351
parent 0 c53acadfccc6
child 40 910a23996aa0
equal deleted inserted replaced
3:b73a2e62868f 20:6dfc5f825351
    67     WRITELOG( "CFileMonitorAO::~CFileMonitorAO" );
    67     WRITELOG( "CFileMonitorAO::~CFileMonitorAO" );
    68     
    68     
    69     Cancel();
    69     Cancel();
    70     
    70     
    71     StopMonitoring();
    71     StopMonitoring();
    72     
    72 
    73     iIgnoreList.ResetAndDestroy();
       
    74     iIgnoreList.Close();
       
    75 
       
    76     
       
    77     delete iMdeSession;
    73     delete iMdeSession;
    78     }
    74     }
    79 
    75 
    80 // ---------------------------------------------------------------------------
    76 // ---------------------------------------------------------------------------
    81 // CFileMonitorAO::StartMonitoring()
    77 // CFileMonitorAO::StartMonitoring()
   159     	{
   155     	{
   160     	return ETrue;
   156     	return ETrue;
   161     	}
   157     	}
   162     
   158     
   163     Cancel();
   159     Cancel();
       
   160 
       
   161     delete iFileEventHandler;
       
   162     iFileEventHandler = NULL;
   164     
   163     
   165     // remove mds fileserver plugin
   164     // remove mds fileserver plugin
   166     iEngine.Disable();
   165     iEngine.Disable();
   167     iEngine.Close();
   166     iEngine.Close();
   168     
   167