equal
deleted
inserted
replaced
38 // --------------------------------------------------------------------------- |
38 // --------------------------------------------------------------------------- |
39 // |
39 // |
40 CFileMonitorPlugin::~CFileMonitorPlugin() |
40 CFileMonitorPlugin::~CFileMonitorPlugin() |
41 { |
41 { |
42 delete iFileMonitor; |
42 delete iFileMonitor; |
|
43 iFileMonitor = NULL; |
43 } |
44 } |
44 |
45 |
45 // --------------------------------------------------------------------------- |
46 // --------------------------------------------------------------------------- |
46 // CFileMonitorPlugin::StartMonitoring() |
47 // CFileMonitorPlugin::StartMonitoring() |
47 // --------------------------------------------------------------------------- |
48 // --------------------------------------------------------------------------- |
65 if( cenRepoUtil ) |
66 if( cenRepoUtil ) |
66 { |
67 { |
67 TRAP( err, cenRepoUtil->AddIgnorePathsToFspL( KDrive, KMonitorPath )); |
68 TRAP( err, cenRepoUtil->AddIgnorePathsToFspL( KDrive, KMonitorPath )); |
68 } |
69 } |
69 delete cenRepoUtil; |
70 delete cenRepoUtil; |
|
71 cenRepoUtil = NULL; |
70 } |
72 } |
71 return success && err == KErrNone; |
73 return success && err == KErrNone; |
72 } |
74 } |
73 |
75 |
74 // --------------------------------------------------------------------------- |
76 // --------------------------------------------------------------------------- |