Ignore r# locked context inspection here

This commit is contained in:
Dean Herbert 2017-10-18 18:41:04 +09:00
parent a85de09c0f
commit b73b4755eb
1 changed files with 1 additions and 0 deletions

View File

@ -414,6 +414,7 @@ public WorkingBeatmap GetWorkingBeatmap(BeatmapInfo beatmapInfo, WorkingBeatmap
private ArchiveReader getReaderFrom(string path)
{
if (ZipFile.IsZipFile(path))
// ReSharper disable once InconsistentlySynchronizedField
return new OszArchiveReader(storage.GetStream(path));
return new LegacyFilesystemReader(path);
}