Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
breakwa11 committed Jun 16, 2017
1 parent 11dd42f commit b2f7826
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions shadowsocks-csharp/Controller/Listener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,14 @@ public void Start(Configuration config, int port)
new AsyncCallback(AcceptCallback),
_socket_v6);
}
catch (SocketException)
catch (SocketException e)
{
_socket.Close();
_socket = null;
Logging.LogUsefulException(e);
if (_socket != null)
{
_socket.Close();
_socket = null;
}
if (_socket_v6 != null)
{
_socket_v6.Close();
Expand Down
4 changes: 2 additions & 2 deletions shadowsocks-csharp/Controller/UpdateChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class UpdateChecker

public const string Name = "ShadowsocksR";
public const string Copyright = "Copyright © BreakWa11 2017. Fork from Shadowsocks by clowwindy";
public const string Version = "4.5.0";
public const string Version = "4.5.1";
#if !_DOTNET_4_0
public const string NetVer = "2.0";
#elif !_CONSOLE
Expand All @@ -33,7 +33,7 @@ public class UpdateChecker
#if DEBUG
" Debug";
#else
/*
//*
" Alpha";
/*/
"";
Expand Down

0 comments on commit b2f7826

Please sign in to comment.