mirror of https://github.com/2dust/v2rayN
fix pac bug
parent
dcc8e6dc34
commit
09e1a4386d
|
@ -20,13 +20,7 @@ public class PacHandler
|
||||||
|
|
||||||
public static void Start(string configPath, int httpPort, int pacPort)
|
public static void Start(string configPath, int httpPort, int pacPort)
|
||||||
{
|
{
|
||||||
if (configPath == _configPath
|
_needRestart = (configPath != _configPath || httpPort != _httpPort || pacPort != _pacPort || !_isRunning);
|
||||||
&& httpPort == _httpPort
|
|
||||||
&& pacPort == _pacPort
|
|
||||||
&& _isRunning)
|
|
||||||
{
|
|
||||||
_needRestart = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
_configPath = configPath;
|
_configPath = configPath;
|
||||||
_httpPort = httpPort;
|
_httpPort = httpPort;
|
||||||
|
|
Loading…
Reference in New Issue