Exemple #1
0
 private void DisposeContext(ExceptionCollector exceptionCollector)
 {
     try
     {
         _contextProvider.Dispose();
     }
     catch (Exception exception)
     {
         _exceptionProcessor.UpdateResultsWithException(_result.UpdateScenarioResult, exception);
         exceptionCollector.Capture(exception);
     }
 }
Exemple #2
0
 public void Dispose()
 {
     _context?.Dispose();
 }