Stop the PACServer when controller stop
This commit is contained in:
@@ -128,6 +128,11 @@ namespace Shadowsocks.Controller
|
||||
{
|
||||
polipoRunner.Stop();
|
||||
}
|
||||
if (pacServer != null)
|
||||
{
|
||||
pacServer.Stop();
|
||||
pacServer = null;
|
||||
}
|
||||
if (_config.enabled)
|
||||
{
|
||||
SystemProxy.Disable();
|
||||
|
||||
Reference in New Issue
Block a user