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;
            }
        }
Пример #2
0
 public void Dispose()
 {
     _logFactory?.Dispose();
 }
Пример #3
0
 public void Teardown()
 {
     _logFactory?.Dispose();
 }
 public void CleanupTest()
 {
     _logFactory?.Dispose();
 }