diff --git a/shadowsocks-csharp/Controller/ShadowsocksController.cs b/shadowsocks-csharp/Controller/ShadowsocksController.cs index 9b2b9ba3..2610bbab 100755 --- a/shadowsocks-csharp/Controller/ShadowsocksController.cs +++ b/shadowsocks-csharp/Controller/ShadowsocksController.cs @@ -132,11 +132,6 @@ namespace Shadowsocks.Controller { polipoRunner.Stop(); } - if (pacServer != null) - { - pacServer.Stop(); - pacServer = null; - } if (_config.enabled) { SystemProxy.Disable(); diff --git a/shadowsocks-csharp/Program.cs b/shadowsocks-csharp/Program.cs index c3c0537a..716e0df7 100755 --- a/shadowsocks-csharp/Program.cs +++ b/shadowsocks-csharp/Program.cs @@ -45,8 +45,6 @@ namespace Shadowsocks controller.Start(); Application.Run(); - - controller.Stop(); } } }