Permalink
Browse files

Clean up temp file

  • Loading branch information...
1 parent dad5a1a commit 195051b8bf2e53417fe9fe2241ccc81ffa384ac2 Collins, Sean committed Apr 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Enhance/Models/EnhanceImage.cs
@@ -31,6 +31,7 @@ private BitmapImage ConvertImageToBitmapImage(Image bitmap)
bitmapImage.BeginInit();
bitmapImage.StreamSource = new FileStream(fileName, FileMode.Open, FileAccess.Read);
bitmapImage.EndInit();
+ File.Delete(fileName);
return bitmapImage;
}

0 comments on commit 195051b

Please sign in to comment.