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:
parent
300feadf6a
commit
dac5dfde8f
@ -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 =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user