diff --git a/DnsServerCore/LogManager.cs b/DnsServerCore/LogManager.cs index 84dfc4a6..4a7f224d 100644 --- a/DnsServerCore/LogManager.cs +++ b/DnsServerCore/LogManager.cs @@ -89,6 +89,8 @@ namespace DnsServerCore WriteLog(DateTime.UtcNow, e.ExceptionObject.ToString()); } } + catch (ObjectDisposedException) + { } catch (Exception ex) { Console.WriteLine(e.ExceptionObject.ToString()); @@ -243,6 +245,8 @@ namespace DnsServerCore } } } + catch (ObjectDisposedException) + { } catch (OperationCanceledException) { } finally