Changeset 2244


Ignore:
Timestamp:
9/11/2010 12:45:37 AM (4 years ago)
Author:
lowjoel
Message:

Always mark a subtask complete instead of assigning total to progress to prevent rounding errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/UnusedSpaceErasureTarget.cs

    r2204 r2244  
    262262                    new TaskProgressChangedEventArgs(string.Empty, 0, 0))); 
    263263                info.Delete(true); 
    264                 tempFiles.Completed = tempFiles.Total; 
     264                tempFiles.MarkComplete(); 
    265265 
    266266                //Reset the low disk space notifications 
Note: See TracChangeset for help on using the changeset viewer.