From ee11e3caccc93675bf4776d594f0de74a7560170 Mon Sep 17 00:00:00 2001 From: Rajan <14936017+RajanGrewal@users.noreply.github.com> Date: Fri, 17 Aug 2018 12:48:11 -0400 Subject: [PATCH] Socket.Close calls Socket.Dispose internally Removed redundant method call --- shadowsocks-csharp/Util/Sockets/SocketUtil.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/shadowsocks-csharp/Util/Sockets/SocketUtil.cs b/shadowsocks-csharp/Util/Sockets/SocketUtil.cs index 2cf583dd..e8035676 100644 --- a/shadowsocks-csharp/Util/Sockets/SocketUtil.cs +++ b/shadowsocks-csharp/Util/Sockets/SocketUtil.cs @@ -59,13 +59,6 @@ namespace Shadowsocks.Util.Sockets catch (Exception) { } - try - { - s.Dispose(); - } - catch (Exception) - { - } } }