Browse Source

fix a crash

tags/2.3
clowwindy 9 years ago
parent
commit
506721435d
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      shadowsocks-csharp/Controller/PACServer.cs

+ 6
- 1
shadowsocks-csharp/Controller/PACServer.cs View File

@@ -174,7 +174,12 @@ Connection: Close
private void SendCallback(IAsyncResult ar)
{
Socket conn = (Socket)ar.AsyncState;
conn.Shutdown(SocketShutdown.Send);
try
{
conn.Shutdown(SocketShutdown.Send);
}
catch
{ }
}
private void WatchPacFile()


Loading…
Cancel
Save