Don't lock metadata and binary files for shared read

This commit is contained in:
Katy Coe
2020-09-14 12:29:07 +02:00
parent ac17a3a510
commit a6c693d771
2 changed files with 2 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ namespace Il2CppInspector
}
public static T Load(string filename, EventHandler<string> statusCallback = null) {
using var stream = new FileStream(filename, FileMode.Open, FileAccess.Read);
using var stream = new FileStream(filename, FileMode.Open, FileAccess.Read, FileShare.Read);
return Load(stream, statusCallback);
}