mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 07:07:18 +08:00
Make readonly
This commit is contained in:
parent
673481ebc5
commit
f19cfcc82e
@ -52,7 +52,7 @@ namespace osu.Game.Database
|
||||
/// </summary>
|
||||
private readonly SemaphoreSlim contextCreationLock = new SemaphoreSlim(1);
|
||||
|
||||
private ThreadLocal<bool> currentThreadCanCreateContexts = new ThreadLocal<bool>();
|
||||
private readonly ThreadLocal<bool> currentThreadCanCreateContexts = new ThreadLocal<bool>();
|
||||
|
||||
private static readonly GlobalStatistic<int> refreshes = GlobalStatistics.Get<int>(@"Realm", @"Dirty Refreshes");
|
||||
private static readonly GlobalStatistic<int> contexts_created = GlobalStatistics.Get<int>(@"Realm", @"Contexts (Created)");
|
||||
|
Loading…
x
Reference in New Issue
Block a user