public void Dispose() { if (_disposed) { return; } lock (_syncObject) { if (_disposed) { return; } _disposed = true; _context.Dispose(); } }
public void Dispose() { if (_disposed) { return; } lock (_syncObject) { if (_disposed) { return; } _disposed = true; _bootstrapper.Dispose(); _context.Dispose(); _meterForwarder?.Dispose(); } }