From 98cd888801a11ec2e3e3b72db4e375c052ef7791 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 17 Oct 2017 15:49:39 -0400 Subject: update translations --- SocketHttpListener/Net/HttpConnection.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'SocketHttpListener/Net/HttpConnection.cs') diff --git a/SocketHttpListener/Net/HttpConnection.cs b/SocketHttpListener/Net/HttpConnection.cs index 4e8158964..05576ea1e 100644 --- a/SocketHttpListener/Net/HttpConnection.cs +++ b/SocketHttpListener/Net/HttpConnection.cs @@ -528,7 +528,13 @@ namespace SocketHttpListener.Net finally { if (s != null) - s.Close(); + { + try + { + s.Close(); + } + catch { } + } } Unbind(); RemoveConnection(); -- cgit v1.2.3