public void HandleStopped() { try { _healthNotifier.Notify("Application is being terminated"); } catch (Exception ex) { Console.WriteLine(ex); try { _logFactory.Dispose(); } catch (Exception ex1) { Console.WriteLine(ex1); } throw; } }
public void Dispose() { _logFactory?.Dispose(); }
public void Teardown() { _logFactory?.Dispose(); }
public void CleanupTest() { _logFactory?.Dispose(); }