mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-06 16:53:59 +00:00
LogManager: changes done to ignore ObjectDisposedException.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user