removing volatile

This commit is contained in:
Sean Garrett
2023-06-15 18:32:12 +01:00
parent 02b9385fd8
commit e23f659ffe
11 changed files with 11 additions and 22 deletions
@@ -14,7 +14,7 @@ namespace MongoDbGenericRepository
public abstract partial class BaseMongoRepository : IBaseMongoRepository_Create
{
private readonly object _initLock = new object();
private volatile IMongoDbCreator _mongoDbCreator;
private IMongoDbCreator _mongoDbCreator;
/// <summary>
/// The MongoDbCreator field.