mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-10 13:47:48 +00:00
fix pac bug
This commit is contained in:
parent
dcc8e6dc34
commit
09e1a4386d
1 changed files with 2 additions and 8 deletions
|
@ -20,14 +20,8 @@ public class PacHandler
|
|||
|
||||
public static void Start(string configPath, int httpPort, int pacPort)
|
||||
{
|
||||
if (configPath == _configPath
|
||||
&& httpPort == _httpPort
|
||||
&& pacPort == _pacPort
|
||||
&& _isRunning)
|
||||
{
|
||||
_needRestart = false;
|
||||
}
|
||||
|
||||
_needRestart = (configPath != _configPath || httpPort != _httpPort || pacPort != _pacPort || !_isRunning);
|
||||
|
||||
_configPath = configPath;
|
||||
_httpPort = httpPort;
|
||||
_pacPort = pacPort;
|
||||
|
|
Loading…
Reference in a new issue