mirror of https://github.com/ppy/osu
Make `readonly`
This commit is contained in:
parent
673481ebc5
commit
f19cfcc82e
|
@ -52,7 +52,7 @@ public class RealmContextFactory : IDisposable, IRealmFactory
|
|||
/// </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…
Reference in New Issue