Changeset 1846


Ignore:
Timestamp:
02/17/10 10:28:28 (5 years ago)
Author:
lowjoel
Message:

Fixed FileNotFoundException? when erasing cluster tips -- since we have a delay between the enumeration and the actual erasure we need to check whether the file still exists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser.DefaultPlugins/FileSystems/Windows.cs

    r1719 r1846  
    206206                //Get the file attributes for restoring later 
    207207                StreamInfo streamInfo = new StreamInfo(files[i]); 
     208                if (!streamInfo.Exists) 
     209                    continue; 
     210 
    208211                FileAttributes fileAttr = streamInfo.Attributes; 
    209212 
Note: See TracChangeset for help on using the changeset viewer.