Close file when we're done reading from it. Thanks to Farren Young for the patch.

pull/2/head
Nathan Crawford 2012-08-21 20:05:41 +00:00
rodzic 018edcbb8e
commit 4627214f50
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -237,6 +237,9 @@ namespace PesFile
translateStart.Y = -minY;
readyStatus = statusEnum.Ready;
// Close the file
fileIn.Close();
#if !DEBUG
}
catch (System.IO.IOException ioex)