This commit is contained in:
niksedk 2014-09-15 20:21:17 +02:00
commit e39c76b345

View File

@ -22,9 +22,10 @@ namespace Nikse.SubtitleEdit.Logic.VobSub
public void Open(string fileName)
{
var fs = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
Open(fs);
fs.Close();
using (var fs = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
{
Open(fs);
}
}
/// <summary>