Ignore:
Timestamp:
2/3/2010 3:37:13 AM (2 years ago)
Author:
lowjoel
Message:

Forward ported changes from trunk to r1743

Location:
branches/eraser6/CodeReview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview

  • branches/eraser6/CodeReview/Eraser.Manager/DirectExecutor.cs

    r1709 r1745  
    275275                                throw; 
    276276                            } 
     277                            catch (ThreadAbortException) 
     278                            { 
     279                            } 
    277280                            catch (Exception e) 
    278281                            { 
     
    417420                fsManager.EraseClusterTips(VolumeInfo.FromMountPoint(target.Drive), 
    418421                    method, task.Log, searchProgress, eraseProgress); 
    419             } 
    420  
     422                tipProgress.MarkComplete(); 
     423            } 
     424 
     425            bool lowDiskSpaceNotifications = Shell.LowDiskSpaceNotificationsEnabled; 
    421426            info = info.CreateSubdirectory(Path.GetFileName( 
    422427                FileSystem.GenerateRandomFileName(info, 18))); 
     
    427432                if (info.IsCompressed()) 
    428433                    info.Uncompress(); 
     434 
     435                //Disable the low disk space notifications 
     436                Shell.LowDiskSpaceNotificationsEnabled = false; 
    429437 
    430438                ProgressManager mainProgress = new ProgressManager(); 
     
    515523                fsManager.DeleteFolder(info); 
    516524                tempFiles.Completed = tempFiles.Total; 
     525 
     526                //Reset the low disk space notifications 
     527                Shell.LowDiskSpaceNotificationsEnabled = lowDiskSpaceNotifications; 
    517528            } 
    518529 
Note: See TracChangeset for help on using the changeset viewer.