This commit is contained in:
Paddy Xu
2018-01-27 15:04:46 +02:00
parent fa0824bce9
commit d50d757022
3 changed files with 7 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ namespace QuickLook.Plugin.CsvViewer
const int limit = 10000;
var binded = false;
using (var sr = new StreamReader(path))
using (var sr = new StreamReader(new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)))
{
using (var parser = new CsvParser(sr))
{