Browse Source

Stop the PACServer when controller stop

tags/2.3
Gang Zhuo 10 years ago
parent
commit
a984e90727
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      shadowsocks-csharp/Controller/ShadowsocksController.cs

+ 5
- 0
shadowsocks-csharp/Controller/ShadowsocksController.cs View File

@@ -128,6 +128,11 @@ namespace Shadowsocks.Controller
{
polipoRunner.Stop();
}
if (pacServer != null)
{
pacServer.Stop();
pacServer = null;
}
if (_config.enabled)
{
SystemProxy.Disable();


Loading…
Cancel
Save