Changeset 1772 for branches/eraser6/CodeReview/Eraser.Util/VolumeInfo.cs
- Timestamp:
- 2/8/2010 8:25:51 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/CodeReview/Eraser.Util/VolumeInfo.cs
r1770 r1772 747 747 private void Dispose(bool disposing) 748 748 { 749 if (Stream == null) 750 return; 751 749 752 //Flush the contents of the buffer to disk since after we unlock the volume 750 753 //we can no longer write to the volume. … … 758 761 throw new IOException("Could not unlock volume."); 759 762 } 763 764 //Set the stream to null so that we won't run this function again. 765 Stream = null; 760 766 } 761 767
Note: See TracChangeset
for help on using the changeset viewer.
