public void Dispose() { _logger.Debug("Disposing"); if (_failPoints != null) { foreach (var failPoint in _failPoints) { failPoint?.Dispose(); } } try { KillOpenTransactions(DriverTestConfiguration.Client); } catch { // Ignored because Dispose shouldn't fail } _logger.Debug("Disposing entity map"); _entityMap?.Dispose(); _logger.Debug("Disposed"); }
public void Dispose() { if (_failPoints != null) { foreach (var failPoint in _failPoints) { failPoint?.Dispose(); } } try { KillOpenTransactions(DriverTestConfiguration.Client); } catch { // Ignored because Dispose shouldn't fail } _entityMap?.Dispose(); }