diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-10-17 15:49:39 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-10-17 15:49:39 -0400 |
| commit | 98cd888801a11ec2e3e3b72db4e375c052ef7791 (patch) | |
| tree | 7518cc4660f08c7623c08567f744058c61b6d79c /SocketHttpListener | |
| parent | b263726a3f13a0e6627b6065478c4a9ba15729cc (diff) | |
update translations
Diffstat (limited to 'SocketHttpListener')
| -rw-r--r-- | SocketHttpListener/Net/HttpConnection.cs | 8 |
1 files changed, 7 insertions, 1 deletions
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(); |
