Stop the PACServer when controller stop

This commit is contained in:
Gang Zhuo
2015-01-07 23:10:12 +08:00
parent f1c821a9cd
commit a984e90727
@@ -128,6 +128,11 @@ namespace Shadowsocks.Controller
{
polipoRunner.Stop();
}
if (pacServer != null)
{
pacServer.Stop();
pacServer = null;
}
if (_config.enabled)
{
SystemProxy.Disable();