1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

Remove unnecessary LazyThreadSafetyMode specification

This commit is contained in:
Dean Herbert 2022-04-04 20:28:43 +09:00
parent 300feadf6a
commit dac5dfde8f

View File

@ -61,7 +61,7 @@ namespace osu.Game.Skinning
return null;
}
private void invalidateCache() => fileToStoragePathMapping = new Lazy<Dictionary<string, string>>(initialiseFileCache, LazyThreadSafetyMode.ExecutionAndPublication);
private void invalidateCache() => fileToStoragePathMapping = new Lazy<Dictionary<string, string>>(initialiseFileCache);
private Dictionary<string, string> initialiseFileCache() => liveSource.PerformRead(source =>
{