Changeset 1470
- Timestamp:
- 1/5/2010 10:54:05 AM (3 years ago)
- Location:
- branches/eraser6/6.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Eraser.DefaultPlugins/FileSystems/Windows.cs (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/6.0
- Property svn:mergeinfo changed
/trunk/eraser6 merged: 1469
- Property svn:mergeinfo changed
-
branches/eraser6/6.0/Eraser.DefaultPlugins/FileSystems/Windows.cs
r1468 r1470 66 66 67 67 case 32: //ERROR_SHARING_VIOLATION 68 //Let the process locking the file release the lock69 Thread.Sleep(100);70 71 68 //If after FilenameEraseTries the file is still locked, some program is 72 69 //definitely using the file; throw an exception. … … 74 71 throw new IOException(S._("The file {0} is currently in use and " + 75 72 "cannot be removed.", info.FullName), e); 73 74 //Let the process locking the file release the lock 75 Thread.Sleep(100); 76 break; 77 76 78 default: 77 79 throw; … … 104 106 105 107 case 32: //ERROR_SHARING_VIOLATION 106 //Let the process locking the file release the lock107 Thread.Sleep(100);108 109 108 //If after FilenameEraseTries the file is still locked, some program is 110 109 //definitely using the file; throw an exception. … … 112 111 throw new IOException(S._("The file {0} is currently in use and " + 113 112 "cannot be removed.", info.FullName), e); 113 114 //Let the process locking the file release the lock 115 Thread.Sleep(100); 116 break; 117 114 118 default: 115 119 throw; … … 153 157 154 158 case 32: //ERROR_SHARING_VIOLATION 155 //Let the process locking the file release the lock156 Thread.Sleep(100);157 158 159 //If after FilenameEraseTries the file is still locked, some program is 159 160 //definitely using the file; throw an exception. … … 161 162 throw new IOException(S._("The file {0} is currently in use and " + 162 163 "cannot be removed.", info.FullName), e); 164 165 //Let the process locking the file release the lock 166 Thread.Sleep(100); 167 break; 168 163 169 default: 164 170 throw;
Note: See TracChangeset
for help on using the changeset viewer.
